forked from dachcom-digital/pimcore-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
17 lines (17 loc) · 1.05 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
includes:
- %currentWorkingDirectory%/vendor/phpstan/phpstan-symfony/extension.neon
parameters:
reportUnmatchedIgnoredErrors: false
symfony:
container_xml_path: %currentWorkingDirectory%/var/cache/test/TestKernelTestDebugContainer.xml
constant_hassers: false
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::end\(\)\.#'
# Bundle dependency calls we need to ignore:
- '#Class MembersBundle\\Manager\\RestrictionManager not found\.#'
- '#Class MembersBundle\\Security\\RestrictionUri not found\.#'
- '#Class MembersBundle\\Security\\RestrictionQuery not found\.#'
- '#PHPDoc tag @var for variable \$elementRestriction contains unknown class MembersBundle\\Restriction\\ElementRestriction\.$#'
- '#Call to method getSection\(\) on an unknown class MembersBundle\\Restriction\\ElementRestriction\.#'
- '#Access to constant PROTECTED_ASSET_FOLDER(.*)\.#'
- '#Access to constant RESTRICTION_SECTION_ALLOWED(.*)\.#'