File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ private function createPositionMap()
255
255
) {
256
256
$ ignoring = ['all ' => true ];
257
257
if ($ ownLine === true ) {
258
- $ this ->ignoredLines [$ this ->tokens [$ i ]['line ' ]] = [ ' all ' => true ] ;
258
+ $ this ->ignoredLines [$ this ->tokens [$ i ]['line ' ]] = $ ignoring ;
259
259
}
260
260
} else if ($ ignoring !== null
261
261
&& strpos ($ commentText , '@codingStandardsIgnoreEnd ' ) !== false
@@ -272,7 +272,7 @@ private function createPositionMap()
272
272
) {
273
273
$ ignoring = ['all ' => true ];
274
274
if ($ ownLine === true ) {
275
- $ this ->ignoredLines [$ this ->tokens [$ i ]['line ' ]] = [ ' all ' => true ] ;
275
+ $ this ->ignoredLines [$ this ->tokens [$ i ]['line ' ]] = $ ignoring ;
276
276
$ this ->ignoredLines [($ this ->tokens [$ i ]['line ' ] + 1 )] = $ ignoring ;
277
277
} else {
278
278
$ this ->ignoredLines [$ this ->tokens [$ i ]['line ' ]] = $ ignoring ;
You can’t perform that action at this time.
0 commit comments