Skip to content

Commit 7dedffe

Browse files
authored
remove PlatformAgnosticAssertions - breaks compatiblity with PHPUnit (#930)
1 parent af0fc79 commit 7dedffe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/Testing/PHPUnit/AbstractTestCase.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
abstract class AbstractTestCase extends TestCase
1414
{
15-
use PlatformAgnosticAssertions;
16-
1715
/**
1816
* @var array<string, RectorKernel>
1917
*/

packages/Testing/PHPUnit/PlatformAgnosticAssertions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/**
1111
* Relaxes phpunit assertions to be forgiving about platform issues, like directory-separators or newlines.
1212
* Mostly required to make assertion work on Windows.
13+
*
14+
* @note Cannot be used, as it breaks compatibility with PHPUnit 8 and 9 @see https://github.com/rectorphp/rector/issues/6709
1315
*/
1416
trait PlatformAgnosticAssertions
1517
{

0 commit comments

Comments
 (0)