You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.
This may be useful on large codebases, to track issues that were investigated and found to be false positives (especially if changes will be made later before running php7mar again, and one wants to know which issues were already investigated)
Proposed syntax:
Add a comment with @suppress php7mar-<issue type> [optional description] anywhere in the line where the issue would be emitted.
Example:
foreach ($foo as &$value) { // @suppress php7mar-syntax (nothing else is iterating over this array)
(Without this proposed suppression, php7mar would emit a syntax error in the report warning about changed behavior of foreach by reference)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This may be useful on large codebases, to track issues that were investigated and found to be false positives (especially if changes will be made later before running php7mar again, and one wants to know which issues were already investigated)
Proposed syntax:
Add a comment with
@suppress php7mar-<issue type> [optional description]
anywhere in the line where the issue would be emitted.Example:
(Without this proposed suppression, php7mar would emit a syntax error in the report warning about changed behavior of foreach by reference)
The text was updated successfully, but these errors were encountered: