forked from bitExpert/phpstan-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
21 lines (21 loc) · 977 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
fileExtensions:
- php
paths:
- src/bitExpert
- tests/bitExpert
ignoreErrors:
-
message: '~Call to an undefined method ReflectionType::getName~'
path: src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php
-
message: '~Parameter #1 \$argument of class ReflectionClass constructor expects~'
path: src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php
-
message: '~bitExpert\\PHPStan\\Magento\\Rules\\Helper\\SampleModel::__construct\(\) does not call parent constructor~'
path: tests/bitExpert/PHPStan/Magento/Rules/Helper/SampleModel.php
-
message: '~Call to static method PHPUnit\\Framework\\Assert::assertInstanceOf~'
path: tests/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtensionUnitTest.php