phpstan.neon.dist (contao-4.9.11) | : | phpstan.neon.dist (contao-4.9.12) | ||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
symfony: | symfony: | |||
container_xml_path: %currentWorkingDirectory%/core-bundle/var/cache/phps tan/appContao_CoreBundle_Tests_Functional_app_AppKernelPhpstanDebugContainer.xml | container_xml_path: %currentWorkingDirectory%/core-bundle/var/cache/phps tan/appContao_CoreBundle_Tests_Functional_app_AppKernelPhpstanDebugContainer.xml | |||
excludes_analyse: | excludes_analyse: | |||
- %currentWorkingDirectory%/core-bundle/src/Resources/* | - %currentWorkingDirectory%/core-bundle/src/Resources/* | |||
- %currentWorkingDirectory%/core-bundle/tests/Fixtures/* | - %currentWorkingDirectory%/core-bundle/tests/Fixtures/* | |||
- %currentWorkingDirectory%/core-bundle/tests/Functional/app/* | - %currentWorkingDirectory%/core-bundle/tests/Functional/app/* | |||
- %currentWorkingDirectory%/core-bundle/tests/Functional/var/* | - %currentWorkingDirectory%/core-bundle/tests/Functional/var/* | |||
ignoreErrors: | ignoreErrors: | |||
# Ignore the missing TL_SCRIPT constant in the InitializeController clas | # Ignore configuration tree errors | |||
s | - '#Call to an undefined method Symfony\\Component\\Config\\Definition\\ | |||
- '#Constant TL_SCRIPT not found\.#' | Builder\\Node.*\.#' | |||
# Ignore backwards compatibility layers when preferring lowest dependenc ies | # Ignore backwards compatibility layers when preferring lowest dependenc ies | |||
- '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface ::dispatch\(\) invoked with 2 parameters, 1 required\.#' | - '#Method Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface ::dispatch\(\) invoked with 2 parameters, 1 required\.#' | |||
# Ingore forward compatibility layers | ||||
- '#Method Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::all\(\ | ||||
) invoked with 1 parameter, 0 required\.#' | ||||
# Ignore configuration tree errors | ||||
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\ | ||||
Builder\\NodeDefinition::children\(\)\.#' | ||||
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\ | ||||
Builder\\NodeDefinition::addDefaultsIfNotSet\(\)\.#' | ||||
# Ignore unused variables in the ArrayAttributeBagTest class | ||||
- '#Function testDoesNotReferenceValues\(\) has an unused variable#' | ||||
# Ignore test case classes not starting with "Abstract" (backwards compa | ||||
tibility) | ||||
- '#Abstract class Contao\\CoreBundle\\Tests\\.*TestCase should start wi | ||||
th "Abstract" prefix\.#' | ||||
reportUnmatchedIgnoredErrors: false | reportUnmatchedIgnoredErrors: false | |||
checkGenericClassInNonGenericObjectType: false | checkGenericClassInNonGenericObjectType: false | |||
inferPrivatePropertyTypeFromConstructor: true | inferPrivatePropertyTypeFromConstructor: true | |||
End of changes. 2 change blocks. | ||||
21 lines changed or deleted | 3 lines changed or added |