mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
* 1.1: Apply coding standard fixes Point to a LICENSE in current branch Add Sylius/CustomerOrderCancellationPlugin to the lsit of official plugins Lower PHPStan level 2 errors from 222 to 15 Add information about other plugins Document officially supported plugins in the README
41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
includes:
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|
|
- vendor/phpstan/phpstan-symfony/extension.neon
|
|
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
|
|
|
|
parameters:
|
|
reportUnmatchedIgnoredErrors: false
|
|
|
|
symfony:
|
|
container_xml_path: var/cache/dev/appDevDebugProjectContainer.xml
|
|
|
|
excludes_analyse:
|
|
# Makes PHPStan crash
|
|
- '**/DependencyInjection/Configuration.php'
|
|
|
|
# Test dependencies
|
|
- '**/spec/**.php'
|
|
- '**/Bundle/*/test/app/**.php'
|
|
- '**/Bundle/*/test/src/**.php'
|
|
|
|
# These packages aren't in require-dev of the global package
|
|
- '**MongoDB**'
|
|
- '**ODM**'
|
|
|
|
ignoreErrors:
|
|
# Magic calls
|
|
- '/Call to an undefined static method Webmozart\\Assert\\Assert::all/'
|
|
- '/Call to an undefined static method Webmozart\\Assert\\Assert::nullOr/'
|
|
- '/Call to an undefined method Faker\\Generator::/'
|
|
- '/Access to an undefined property Faker\\Generator::/'
|
|
- '/Method Mockery\\MockInterface::shouldReceive\(\) invoked with 1 parameter, 0 required/'
|
|
- '/Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface/'
|
|
- '/Call to an undefined method Mockery\\ExpectationInterface|Mockery\\HigherOrderMessage::/'
|
|
|
|
# These packages aren't in require-dev of the global package
|
|
- '/Class Doctrine\\Bundle\\MongoDBBundle/'
|
|
- '/Class Doctrine\\Bundle\\PHPCRBundle/'
|
|
|
|
# Symfony 4.0 BC layer
|
|
- '/Symfony\\Component\\ExpressionLanguage\\ParserCache\\ParserCacheInterface/'
|
|
- '/Symfony\\Component\\ExpressionLanguage\\ParserCache\\ParserCacheAdapter/'
|