Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.5'
coverage: none
- run: composer update --no-progress
- run: composer update --no-progress --working-dir=dev-tools
Expand All @@ -28,12 +28,8 @@ jobs:
fail-fast: false
matrix:
include:
- php-version: '7.0'
composer-flags: '--prefer-stable --prefer-lowest'
- php-version: '7.1'
- php-version: '7.2'
- php-version: '7.3'
- php-version: '7.4'
composer-flags: '--prefer-stable --prefer-lowest'
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}
],
"require": {
"php": "^7.0 || ^8.0",
"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"
"php": "^7.4 || ^8.0",
"phpunit/phpunit": "^11.5.55 || ^12.5.14 || ^13.0.0"
Comment thread
keradus marked this conversation as resolved.
Outdated
},
"autoload": {
"psr-4": {
Expand Down
10 changes: 1 addition & 9 deletions src/Constraint/IsIdenticalString.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,4 @@

use PHPUnit\Runner\Version;

if (version_compare(Version::id(), '7.0.0') < 0) {
class_alias(IsIdenticalStringForV5::class, IsIdenticalString::class);
} elseif (version_compare(Version::id(), '8.0.0') < 0) {
class_alias(IsIdenticalStringForV7::class, IsIdenticalString::class);
} elseif (version_compare(Version::id(), '9.0.0') < 0) {
class_alias(IsIdenticalStringForV8::class, IsIdenticalString::class);
} else {
class_alias(IsIdenticalStringForV9::class, IsIdenticalString::class);
}
class_alias(IsIdenticalStringForV11::class, IsIdenticalString::class);
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @internal
*/
final class IsIdenticalStringForV9 extends Constraint
final class IsIdenticalStringForV11 extends Constraint
{
/**
* @var mixed
Expand Down
42 changes: 0 additions & 42 deletions src/Constraint/IsIdenticalStringForV5.php

This file was deleted.

53 changes: 0 additions & 53 deletions src/Constraint/IsIdenticalStringForV7.php

This file was deleted.

85 changes: 0 additions & 85 deletions src/Constraint/IsIdenticalStringForV8.php

This file was deleted.

Loading