mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
42 lines
1.6 KiB
Text
42 lines
1.6 KiB
Text
includes:
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|
|
|
|
parameters:
|
|
level: 1
|
|
|
|
reportUnmatchedIgnoredErrors: false
|
|
|
|
paths:
|
|
- 'src/'
|
|
|
|
excludes_analyse:
|
|
# Test dependencies
|
|
- '**/spec/**.php'
|
|
- '**/Bundle/*/test/**.php'
|
|
- '**/Bundle/*/test/app/**.php'
|
|
- '**/Bundle/*/test/src/**.php'
|
|
- '**/Bundle/*/Tests/Functional/app/**.php'
|
|
- '**/Bundle/*/Tests/Functional/var/**.php'
|
|
|
|
# Vendor files in subpackages
|
|
- '**/Bundle/*/vendor/**.php'
|
|
- '**/Component/*/vendor/**.php'
|
|
|
|
# Deprecated classes
|
|
- 'src/Sylius/Bundle/CoreBundle/Application/Kernel.php'
|
|
|
|
# Symfony 5.1+ hotfixes
|
|
- 'src/Sylius/Bundle/ApiBundle/DependencyInjection/Compiler/ReflectionExtractorHotfixPass.php'
|
|
- 'src/Sylius/Bundle/ApiBundle/PropertyInfo/Extractor/ReflectionExtractor.php'
|
|
|
|
# Symfony 4.4-specific issues
|
|
- 'src/Sylius/Bundle/CoreBundle/DependencyInjection/Compiler/CircularDependencyBreakingExceptionListenerPass.php'
|
|
- 'src/Sylius/Bundle/CoreBundle/EventListener/CircularDependencyBreakingExceptionListener.php'
|
|
- 'src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/CircularDependencyBreakingExceptionListenerPassTest.php'
|
|
- 'src/Sylius/Bundle/CoreBundle/Tests/Listener/CircularDependencyBreakingExceptionListenerTest.php'
|
|
|
|
# PHP 7.4 fixes
|
|
- 'src/Sylius/Component/Core/Formatter/StringInflector.php'
|
|
|
|
ignoreErrors:
|
|
- '/Access to an undefined property Doctrine\\Common\\Collections\\ArrayCollection/'
|