Skip to content

Commit 7557775

Browse files
committed
Reconfigure PHPStan
1 parent 69f7d41 commit 7557775

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
},
3232
"scripts": {
33-
"phpstan": "phpstan analyse src -c phpstan.neon --level=max --no-progress -vvv",
33+
"phpstan": "phpstan analyse -c phpstan.neon --no-progress -vvv",
3434
"cs-fix": "phpcbf",
3535
"cs-check": "phpcs"
3636
},

phpstan.neon

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
parameters:
2+
level: max
3+
paths:
4+
- src
25
ignoreErrors:
6+
-
7+
message: '#^Implementing PHPStan\\Rules\\IdentifierRuleError is not covered by backward compatibility promise\. The interface might change in a minor PHPStan version\.$#'
8+
identifier: phpstanApi.interface
9+
count: 1
10+
path: src/Rules/Error/SafeRuleError.php
11+
12+
-
13+
message: '#^Implementing PHPStan\\Rules\\LineRuleError is not covered by backward compatibility promise\. The interface might change in a minor PHPStan version\.$#'
14+
identifier: phpstanApi.interface
15+
count: 1
16+
path: src/Rules/Error/SafeRuleError.php
17+
18+
-
19+
message: '#^Implementing PHPStan\\Rules\\RuleError is not covered by backward compatibility promise\. The interface might change in a minor PHPStan version\.$#'
20+
identifier: phpstanApi.interface
21+
count: 1
22+
path: src/Rules/Error/SafeRuleError.php
323
includes:
424
- phpstan-safe-rule.neon

0 commit comments

Comments
 (0)