We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3280fa commit 1335a9eCopy full SHA for 1335a9e
PHP/CodeCoverage/Util.php
@@ -286,11 +286,13 @@ public static function getLinesToBeIgnored($filename)
286
break;
287
288
case 'PHP_Token_COMMENT': {
289
- if (trim($token) == '// @codeCoverageIgnoreStart') {
+ $_token = trim($token);
290
+
291
+ if ($_token == '// @codeCoverageIgnoreStart') {
292
$ignore = TRUE;
293
}
294
- else if (trim($token) == '// @codeCoverageIgnoreEnd') {
295
+ else if ($_token == '// @codeCoverageIgnoreEnd') {
296
$stop = TRUE;
297
298
0 commit comments