mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
includes:
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|
|
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
|
|
- vendor/jangregor/phpstan-prophecy/extension.neon
|
|
- vendor/phpstan/phpstan-symfony/extension.neon
|
|
- vendor/phpstan/phpstan-symfony/rules.neon
|
|
|
|
parameters:
|
|
level: 2
|
|
|
|
reportUnmatchedIgnoredErrors: false
|
|
|
|
paths:
|
|
- 'src/'
|
|
|
|
excludePaths:
|
|
# Test dependencies
|
|
- '**/spec/**.php'
|
|
- '**/Bundle/*/test/**.php'
|
|
- '**/Bundle/*/test/app/**.php'
|
|
- '**/Bundle/*/test/src/**.php'
|
|
- '**/Bundle/*/Tests/**.php'
|
|
- '**/Bundle/*/DependencyInjection/Configuration.php'
|
|
- 'src/Sylius/Behat/**.php'
|
|
|
|
# Vendor files in subpackages
|
|
- '**/Bundle/*/vendor/**.php'
|
|
- '**/Component/*/vendor/**.php'
|
|
|
|
# Deprecated classes
|
|
- 'src/Sylius/Bundle/CoreBundle/Application/Kernel.php'
|
|
- 'src/Sylius/Bundle/UserBundle/Security/UserPasswordEncoder.php'
|
|
|
|
ignoreErrors:
|
|
- '/Access to an undefined property Doctrine\\Common\\Collections\\ArrayCollection/'
|
|
- '/Class Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken constructor invoked with 4 parameters\, 2\-3 required./'
|