Skip to content

Commit 7e164fe

Browse files
Merge branch '9.2'
2 parents 82f71bf + 436d1d3 commit 7e164fe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/StaticAnalysis/ParsingFileAnalyser.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -200,21 +200,21 @@ private function findLinesIgnoredByLineBasedAnnotations(string $filename, string
200200
break;
201201
}
202202

203-
$comment = trim($token[1]);
204-
205-
if ($comment === '// @codeCoverageIgnore' ||
206-
$comment === '//@codeCoverageIgnore') {
207-
$ignore = true;
208-
$stop = true;
209-
} elseif ($comment === '// @codeCoverageIgnoreStart' ||
210-
$comment === '//@codeCoverageIgnoreStart') {
211-
$ignore = true;
212-
} elseif ($comment === '// @codeCoverageIgnoreEnd' ||
213-
$comment === '//@codeCoverageIgnoreEnd') {
214-
$stop = true;
215-
}
203+
$comment = trim($token[1]);
204+
205+
if ($comment === '// @codeCoverageIgnore' ||
206+
$comment === '//@codeCoverageIgnore') {
207+
$ignore = true;
208+
$stop = true;
209+
} elseif ($comment === '// @codeCoverageIgnoreStart' ||
210+
$comment === '//@codeCoverageIgnoreStart') {
211+
$ignore = true;
212+
} elseif ($comment === '// @codeCoverageIgnoreEnd' ||
213+
$comment === '//@codeCoverageIgnoreEnd') {
214+
$stop = true;
215+
}
216216

217-
break;
217+
break;
218218
}
219219

220220
if ($ignore) {

0 commit comments

Comments
 (0)