Skip to content

Commit 0ab4ab2

Browse files
authored
Do not report PhpCsFixer* internals by PHPStan (#1020)
1 parent 8e5c168 commit 0ab4ab2

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.dev-tools/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mi-schi/phpmd-extension": "^4.3",
1010
"phpmd/phpmd": "^2.15",
1111
"phpstan/extension-installer": "^1.4.3",
12-
"phpstan/phpstan": "^2.1.12",
12+
"phpstan/phpstan": "^2.1.13",
1313
"phpstan/phpstan-phpunit": "^2.0.6",
1414
"phpstan/phpstan-strict-rules": "^2.0.4",
1515
"shipmonk/composer-dependency-analyser": "^1.8.2",

.dev-tools/composer.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.dev-tools/phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ parameters:
66
bootstrapFiles:
77
- ../vendor/autoload.php
88
level: max
9+
ignoreErrors:
10+
- '~internal (class|method) PhpCsFixer(CustomFixers(Dev)?)?\\~'
911
paths:
1012
- ../src
1113
- ../tests

0 commit comments

Comments
 (0)