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 1335a9e commit 07349b2Copy full SHA for 07349b2
PHP/CodeCoverage/Util.php
@@ -288,11 +288,13 @@ public static function getLinesToBeIgnored($filename)
288
case 'PHP_Token_COMMENT': {
289
$_token = trim($token);
290
291
- if ($_token == '// @codeCoverageIgnoreStart') {
+ if ($_token == '// @codeCoverageIgnoreStart' ||
292
+ $_token == '//@codeCoverageIgnoreStart') {
293
$ignore = TRUE;
294
}
295
- else if ($_token == '// @codeCoverageIgnoreEnd') {
296
+ else if ($_token == '// @codeCoverageIgnoreEnd' ||
297
+ $_token == '//@codeCoverageIgnoreEnd') {
298
$stop = TRUE;
299
300
0 commit comments