Skip to content

Commit bce2fe0

Browse files
committed
Revert XML attribute changes and try silence operator
Both PHPUnit 10 + 11 fail with a syntax error "unexpected token @", exit code 255.
1 parent f8eabfb commit bce2fe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</testsuite>
2222
</testsuites>
2323

24-
<source ignoreSelfDeprecations="true" ignoreDirectDeprecations="true" ignoreIndirectDeprecations="true">
24+
<source>
2525
<include>
2626
<directory suffix=".php">./src/</directory>
2727
</include>

tests/FooTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PHPUnit\Framework\Attributes\CoversClass;
88
use PHPUnit\Framework\TestCase;
99

10-
#[CoversClass(Foo::class)]
10+
#[@CoversClass(Foo::class)]
1111
final class FooTest extends TestCase
1212
{
1313
use Foo;

0 commit comments

Comments
 (0)