-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
27 lines (23 loc) · 992 Bytes
/
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
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
checkDynamicProperties: true
paths:
- .
excludePaths:
- vendor/*
- vendor-bin/*
ignoreErrors:
- '/ has no return type specified./'
- message: '/Use service contracts to persist entities in favour of Magento\\Cron\\Model\\Schedule\:\:save\(\) method/'
count: 1
path: Cron/ScheduleJob.php
- message: '/Call to deprecated method save\(\) of class Magento\\Framework\\Model\\AbstractModel/'
count: 1
path: Cron/ScheduleJob.php
- message: '/Parameter \#1 \$(autoload_function|callback) of function spl_autoload_register expects/'
count: 1
path: Test/bootstrap.php
- message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
count: 2
path: Test/Storage/CacheStorageTest.php