Skip to content

Commit e979df1

Browse files
committed
docs: change @codeCoverageIgnore style
1 parent 852d170 commit e979df1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/functions.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
* @SuppressWarnings(PHPMD.ExitExpression)
1111
* Does not work if I move to the function annotation
1212
* See https://github.com/phpmd/phpmd/issues/337
13-
* @codeCoverageIgnore Can't cover on codecov.io
1413
*/
15-
if (! function_exists('dd')) {
14+
if (! function_exists('dd')) { // @codeCoverageIgnore
15+
1616
/**
1717
* Alias of var_dump() and exit()
1818
*
@@ -28,10 +28,8 @@ function dd(...$vars): void
2828
}
2929
}
3030

31-
/**
32-
* @codeCoverageIgnore Can't cover on codecov.io
33-
*/
34-
if (! function_exists('d')) {
31+
if (! function_exists('d')) { // @codeCoverageIgnore
32+
3533
/**
3634
* Alias of var_dump()
3735
*

0 commit comments

Comments
 (0)