forked from dachcom-digital/pimcore-formbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
15 lines (15 loc) · 920 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
includes:
- ../../vendor/phpstan/phpstan-symfony/extension.neon
parameters:
reportUnmatchedIgnoredErrors: false
symfony:
container_xml_path: var/cache/dev/appAppKernelDevDebugContainer.xml
ignoreErrors:
# There is no global constants definition file we could include, ignore it:
- '#Constant PIMCORE_[A-Z\\_]+ not found\.#'
# Symfony DI (remove this line after symfony 4 support only):
- '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\) invoked with 2 parameters, 1 required\.#'
# Symfony DI (split up configuration):
- '#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\(\)\.#'