PHPStan errors being ignored should specify the error identifiers #1209
Labels
skip changelog
PRs that should not be mentioned in changelogs
[Type] Enhancement
A suggestion for improvement of an existing feature
Milestone
This is part of #775.
Feature Description
A new feature coming in PHPStan 1.11 is the ability to ignore specific errors rather than all errors on a given line:
We should implement this for the few places we have ignores in place:
performance/tests/includes/server-timing/perflab-server-timing-tests.php
Line 114 in 8b742ee
performance/tests/includes/server-timing/perflab-server-timing-tests.php
Line 126 in 8b742ee
performance/tests/plugins/webp-uploads/helper-tests.php
Line 382 in 8b742ee
performance/tests/plugins/webp-uploads/image-edit-tests.php
Line 402 in 8b742ee
This will ensure we're only ignoring the error we expect. This is coming out next week!
The text was updated successfully, but these errors were encountered: