forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-parameters.neon
34 lines (28 loc) · 1.28 KB
/
phpstan-parameters.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
parameters:
level: 3
paths:
- bundles
- lib
- models
bootstrapFiles:
- phpstan-bootstrap.php
symfony:
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml
excludes_analyse:
- '**/PreAuthenticatedAdminSessionFactory.php'
- '**/DependencyInjection/Configuration.php'
- '**/External/AdminerController.php'
- '**/Processor/PdfReactor.php'
- '**/simple_html_dom.php'
- '**/Fieldcollection/Data/Filter*'
- '**/PDFreactor.class.php'
- '**/bundles/AdminBundle/Security/Guard/AdminAuthenticator.php'
ignoreErrors:
- '/DataObject\\(OnlineShopVoucherToken|OnlineShopVoucherSeries|OnlineShopOrder|OnlineShopOrderItem|OnlineShopTaxClass|Customer|FilterDefinition)/'
- '/Fieldcollection\\Data\\(VoucherTokenTypeSingle|VoucherTokenTypePattern|OrderPriceModifications|PricingRule|TaxEntry|FilterCategory|PaymentInfo)/'
- '~^Method Doctrine\\DBAL(\\.*)?Connection::query\(\) invoked with \d+ parameters?, 0 required\.\z~'
- '~^Unsafe usage of new static\(\)~'
# see https://phpstan.org/config-reference#universal-object-crates
universalObjectCratesClasses:
- Pimcore\Config\Config
- Pimcore\Templating\Model\ViewModel