forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
55 lines (52 loc) · 2.42 KB
/
phpstan.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
parameters:
reportUnmatchedIgnoredErrors: false
symfony:
container_xml_path: var/cache/dev/appAppKernelDevDebugContainer.xml
excludes_analyse:
- '**/DependencyInjection/Configuration.php'
- '**/migrations/Version*.php'
- '**/External/AdminerController.php'
- '**/Generator/DoctrineCrudGenerator.php'
- '**/EcommerceFrameworkBundle/Resources/views/Voucher/parts/paginator.html.php'
- '**/EcommerceFrameworkBundle/Resources/views/Includes/paging.html.php'
- '**/Processor/PdfReactor8.php'
- '**/simple_html_dom.php'
- '**/PDFreactor.class.php'
- '**/Document/MigrateTagNamingStrategyCommand.php'
ignoreErrors:
- '/(snappy|lz4)_(un)?compress/'
- '/Instantiated class COM not found/'
- '/(Order|Checkout)Manager.*__construct\(\) does not call parent constructor/'
- '/Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children()/'
- '/DataObject\\(OnlineShopVoucherToken|OnlineShopVoucherSeries|OnlineShopOrder|OnlineShopOrderItem|OnlineShopTaxClass|Customer|FilterDefinition)/'
- '/Fieldcollection\\Data\\(VoucherTokenTypeSingle|VoucherTokenTypePattern|OrderPriceModifications|PricingRule|TaxEntry|FilterCategory|PaymentInfo)/'
- '/Matcher::__construct\(\).*TypeMatcher/'
-
message: '/method object::(pimcoreUrl|translateAdmin)/'
path: '**/*.html.php'
-
message: '#Using \$this outside a class\.#'
path: '**/*.html.php'
-
message: '#Undefined variable: \$(this|view|app)#'
path: '**/*.html.php'
-
message: '#Using \$this outside a class\.#'
path: '**/*.js.php'
-
message: '#Undefined variable: \$(this|view|app)#'
path: '**/*.js.php'
-
message: '/Zend_Log/'
path: '**/Log/ApplicationLogger.php'
-
message: '/ALPHACHANNEL_REMOVE/'
path: '**/Imagick.php'
-
message: '/an undefined static method.*getParameter\(\)./'
path: '**/Controller/Controller.php'
-
message: '/__construct\(\) does not call parent constructor/'
path: '**/Migrations/Version.php'
- '/class heidelpayPHP\\(Heidelpay|Resources|Exceptions)/'
- '/Heidelpay::fetchPayment\(\) has invalid type heidelpayPHP/'