-
Notifications
You must be signed in to change notification settings - Fork 291
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
21 lines (20 loc) · 997 Bytes
/
phpstan.dist.neon
File metadata and controls
21 lines (20 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: 8
paths:
- src
- tests
checkMissingCallableSignature: true
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#^Method Behat\\Mink\\Tests\\[^:]+Test(Case)?\:\:test\w*\(\) has no return type specified\.$#'
- '#^Method Behat\\Mink\\Tests\\[^:]+Test(Case)?\:\:provide\w*\(\) has no return type specified\.$#'
- '#^Method Behat\\Mink\\Tests\\[^:]+Test(Case)?\:\:get\w*\(\) has no return type specified\.$#'
-
message: '#^Method Behat\\Mink\\[^:]+\:\:\w+\(\) has parameter \$selector with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
-
message: '#^Method Behat\\Mink\\[^:]+\:\:\w+\(\) has parameter \$locator with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon