forked from dachcom-digital/pimcore-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
16 lines (16 loc) · 865 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
includes:
- ../../vendor/phpstan/phpstan-symfony/extension.neon
parameters:
reportUnmatchedIgnoredErrors: false
symfony:
container_xml_path: var/cache/dev/appAppKernelDevDebugContainer.xml
excludes_analyse:
# as long we don't install the dependencies :(
- '*SchemaBundle/Seo/Middleware/SchemaGraphAdapter.php'
ignoreErrors:
# There is no global constants definition file we could include, ignore it:
- '#Constant PIMCORE_[A-Z\\_]+ not found\.#'
# Symfony DI (remove this line with symfony 4.2):
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\)\.#'
# Pimcore 5.6 href/relation issue: remove this after we only support pimcore >= 5.6:
- '#Call to an undefined method Pimcore\\Model\\Document\\Tag::getElement\(\)\.#'