Skip to content

Commit f7563df

Browse files
committed
drop old PHPUnit
1 parent 616edc0 commit f7563df

File tree

6 files changed

+3
-191
lines changed

6 files changed

+3
-191
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^7.4 || ^8.0",
14-
"phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7 || ^12.0.2 || ^13.0.0"
14+
"phpunit/phpunit": "^11.5.55 || ^12.5.14 || ^13.0.0"
1515
},
1616
"autoload": {
1717
"psr-4": {

src/Constraint/IsIdenticalString.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,4 @@
1313

1414
use PHPUnit\Runner\Version;
1515

16-
if (version_compare(Version::id(), '7.0.0') < 0) {
17-
class_alias(IsIdenticalStringForV5::class, IsIdenticalString::class);
18-
} elseif (version_compare(Version::id(), '8.0.0') < 0) {
19-
class_alias(IsIdenticalStringForV7::class, IsIdenticalString::class);
20-
} elseif (version_compare(Version::id(), '9.0.0') < 0) {
21-
class_alias(IsIdenticalStringForV8::class, IsIdenticalString::class);
22-
} else {
23-
class_alias(IsIdenticalStringForV9::class, IsIdenticalString::class);
24-
}
16+
class_alias(IsIdenticalStringForV11::class, IsIdenticalString::class);

src/Constraint/IsIdenticalStringForV9.php renamed to src/Constraint/IsIdenticalStringForV11.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @internal
2222
*/
23-
final class IsIdenticalStringForV9 extends Constraint
23+
final class IsIdenticalStringForV11 extends Constraint
2424
{
2525
/**
2626
* @var mixed

src/Constraint/IsIdenticalStringForV5.php

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Constraint/IsIdenticalStringForV7.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/Constraint/IsIdenticalStringForV8.php

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)