Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #5661 DX: remove PHPStan exceptions for "tests" from phpstan.ne…
…on (kubawerlos) This PR was merged into the 2.18 branch. Discussion ---------- DX: remove PHPStan exceptions for "tests" from phpstan.neon After [#5626](https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5626/files) it got me thinking that PHPStan is not always able to detect errors properly - sometimes because it runs on single PHP version with single set of dependencies, sometimes because there is some dynamic behaviour. So it may be not bad idea to use `@phpstan-ignore-line` as it's not really exception, but false positive case. Nonetheless, in this PR all the PHPStan exceptions are removed from phpstan.neon and fixed or handled via `@phpstan-ignore-line` annotation. Commits ------- 7d32ab2 DX: remove PHPStan exceptions for "tests" from phpstan.neon
- Loading branch information
Showing
5 changed files
with
6 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters