Skip to content

Commit 3af5208

Browse files
committed
PHPStan: exclude *all* test files
The `/tests` directory was already excluded, but the _sniff_ test directories were not and what with a different PHPUnit version being used and PHPStan - apparently - struggling to understand the inheritance, let's just exclude the rest of the test files as well until such time as the PHPStan setup is made compatible with the tests.
1 parent ca3f00e commit 3af5208

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

phpstan.neon.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ parameters:
66
paths:
77
- requirements.php
88
- src
9+
excludePaths:
10+
- src/Standards/Generic/Tests/*
11+
- src/Standards/PEAR/Tests/*
12+
- src/Standards/PSR1/Tests/*
13+
- src/Standards/PSR2/Tests/*
14+
- src/Standards/PSR12/Tests/*
15+
- src/Standards/Squiz/Tests/*
16+
- src/Standards/Zend/Tests/*
917
bootstrapFiles:
1018
- tests/bootstrap.php
1119

0 commit comments

Comments
 (0)