forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
22 lines (22 loc) · 1.44 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
parameters:
reportUnmatchedIgnoredErrors: false
excludes_analyse:
- %rootDir%/../../../../../src/**/*Test.php
- %rootDir%/../../src/**/*Test.php
- %rootDir%/../../src/**/*TestCase.php
- %rootDir%/../../src/**/_fixture/feature_*.php
- %rootDir%/../../src/Core/Flag/feature_*.php
- %rootDir%/../../src/Core/Framework/Faker/Commerce.php
- %rootDir%/../../src/Core/TestBootstrap.php
- %rootDir%/../../src/Core/System/Test/SystemConfig/TestKernel.php
- %rootDir%/../../src/Docs/*
- %rootDir%/../../src/Core/Framework/DataAbstractionLayer/DefinitionInstanceRegistry.php
- %rootDir%/../../src/Core/System/SalesChannel/Entity/SalesChannelDefinitionInstanceRegistry.php
- %rootDir%/../../src/Core/System/SalesChannel/Entity/SalesChannelApiController.php
ignoreErrors:
# https://github.com/phpstan/phpstan/issues/1060
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::(variableNode|scalarNode|end|integerNode|booleanNode)\(\)\.#'
- '#Shopware\\Core\\Framework\\DataAbstractionLayer\\CompiledFieldCollection::__construct\(\) does not call parent constructor from Shopware\\Core\\Framework\\Struct\\Collection.#'
- '#[F,f]unction Flag\\.* not found\.$#'
- '#Access to an undefined property Faker\\Generator::\$[^.]+\.#'
- '#Call to an undefined method Faker\\Generator::[^.]+\.#'