1234567891011121314151617181920212223242526272829303132333435363738394041 |
- includes:
- - dev-tools/vendor/jangregor/phpstan-prophecy/src/extension.neon
- - dev-tools/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- - dev-tools/vendor/phpstan/phpstan-phpunit/extension.neon
- parameters:
- level: 5
- paths:
- - src
- - tests
- excludes_analyse:
- - tests/Fixtures
- ignoreErrors:
- - '/^Return typehint of method PhpCsFixer\\Tests\\Test\\.+::createIsIdenticalStringConstraint\(\) has invalid type PHPUnit_Framework_Constraint_IsIdentical\.$/'
- - '/^Class (Symfony\\Contracts\\EventDispatcher\\Event|Symfony\\Component\\EventDispatcher\\Event) not found.$/'
- - '/^Constant T_NAME_(RELATIVE|FULLY_QUALIFIED|QUALIFIED) not found\.$/'
- - '/assertInstanceOf\(\) expects class-string.*, string given/'
- -
- message: '/^Unsafe usage of new static\(\)\.$/'
- path: src/Config.php
- -
- message: '/^Else branch is unreachable because previous condition is always true\.$/'
- path: src/Event/Event.php
- -
- message: '/^Result of && is always false\.$/'
- path: src/Config.php
- -
- message: '/^Strict comparison using === between false and true will always evaluate to false\.$/'
- path: src/Config.php
- -
- message: '/^Else branch is unreachable because ternary operator condition is always true\.$/'
- paths:
- - src/Config.php
- -
- message: '/^Parameter #1 \$function of function register_shutdown_function expects callable\(\): void, array\(\$this\(PhpCsFixer\\FileRemoval\), ''clean''\) given\.$/'
- path: src/FileRemoval.php
- -
- message: '/^Constant T_ATTRIBUTE not found\.$/'
- path: src/Tokenizer/Transformer/AttributeTransformer.php
- tipsOfTheDay: false
|