Skip to content

Commit

Permalink
Apply Rector changes (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
imanilchaudhari authored and github-actions[bot] committed Apr 6, 2024
1 parent 9825de8 commit 30df477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace PHPUnit\Framework\Constraint {

if (!class_exists('PHPUnit\Framework\Constraint\Constraint') && class_exists('PHPUnit_Framework_Constraint')) {
if (!class_exists(\PHPUnit\Framework\Constraint\Constraint::class) && class_exists('PHPUnit_Framework_Constraint')) {
abstract class Constraint extends \PHPUnit_Framework_Constraint
{
}
Expand All @@ -20,7 +20,7 @@ abstract class Constraint extends \PHPUnit_Framework_Constraint

namespace PHPUnit\Framework {

if (!class_exists('PHPUnit\Framework\TestCase') && class_exists('PHPUnit_Framework_TestCase')) {
if (!class_exists(\PHPUnit\Framework\TestCase::class) && class_exists('PHPUnit_Framework_TestCase')) {

echo "Applying compatibility patch for PHPUnit 6...\n";

Expand Down

0 comments on commit 30df477

Please sign in to comment.