123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- includes:
- - dev-tools/vendor/jangregor/phpstan-prophecy/extension.neon
- - dev-tools/vendor/phpstan/phpstan/conf/bleedingEdge.neon
- - dev-tools/vendor/phpstan/phpstan-phpunit/extension.neon
- parameters:
- level: 6
- paths:
- - src
- - tests
- excludePaths:
- - tests/Fixtures
- ignoreErrors:
- - '/^Class [a-zA-Z\\]+ extends @final class PhpCsFixer\\(ConfigurationException\\InvalidConfigurationException|ConfigurationException\\InvalidFixerConfigurationException|Tokenizer\\Tokens)\.$/'
- - '/^Unsafe call to private method [a-zA-Z\\]+::[a-zA-Z]+\(\) through static::\.$/'
- - '/^\$this\(PhpCsFixer\\Tokenizer\\Tokens\) does not accept PhpCsFixer\\Tokenizer\\Token\|null\.$/'
- # ignore PHPUnit data providers return type as they are not checked against the test methods anyway
- - '#^Method PhpCsFixer\\Tests\\.+::provide.+Cases\(\) return type has no value type specified in iterable type array\.$#'
- - '#^Method PhpCsFixer\\Tests\\.+::provide.+Cases\(\) return type has no value type specified in iterable type iterable\.$#'
- # baseline, should only shrink
- -
- message: '#^Method .+ has parameter .+ with no value type specified in iterable type array\.$#'
- path: *
- count: 363
- -
- message: '#^Method .+ has parameter .+ with no value type specified in iterable type iterable\.$#'
- path: *
- count: 4
- -
- message: '#^Method .+ return type has no value type specified in iterable type array\.$#'
- path: *
- count: 153
- -
- message: '#^Method .+ return type has no value type specified in iterable type iterable\.$#'
- path: *
- count: 15
- -
- message: '#^Property .+ has no type specified\.$#'
- path: *
- count: 7
- -
- message: '#^Property .+ type has no value type specified in iterable type array\.$#'
- path: *
- count: 37
- tipsOfTheDay: false
- tmpDir: dev-tools/phpstan/cache
|