File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Standards/Squiz/Tests/Commenting Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ $match = match($foo // comment
5353 1 => 1 , // comment
5454};
5555
56- // Comments recognized as annotations by PHPCS .
56+ // Issue #560: Annotations should be reported separately and be non-auto-fixable as their meaning may change when moved .
5757$ a = 1 ; //@codeCoverageIgnore
5858$ b = 2 ; // @phpstan-ignore variable.undefined
5959$ c = 3 ; // @phpstan-ignore variable.undefined
6060$ d = 4 ; // @tabInsteadOfSpace
6161
62- // Comments that include `@`, but are not recognized as annotations by PHPCS .
62+ // Comments that include `@`, but are not recognized as annotations by this sniff .
6363$ a = 1 ; // @ = add tag.
6464$ b = 2 ; // Some comment. // @username
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ $match = match($foo // comment
5858// comment
5959};
6060
61- // Comments recognized as annotations by PHPCS .
61+ // Issue #560: Annotations should be reported separately and be non-auto-fixable as their meaning may change when moved .
6262$a = 1; //@codeCoverageIgnore
6363$b = 2; // @phpstan-ignore variable.undefined
6464$c = 3; // @phpstan-ignore variable.undefined
6565$d = 4; // @tabInsteadOfSpace
6666
67- // Comments that include `@`, but are not recognized as annotations by PHPCS .
67+ // Comments that include `@`, but are not recognized as annotations by this sniff .
6868$a = 1;
6969// @ = add tag.
7070$b = 2;
You can’t perform that action at this time.
0 commit comments