Skip to content

Commit d130679

Browse files
committed
add PHP 8.5 support
1 parent 1875de6 commit d130679

File tree

9 files changed

+14
-8
lines changed

9 files changed

+14
-8
lines changed

.github/workflows/qa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
21+
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
2222

2323
name: PHP ${{ matrix.php }}
2424

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ services:
4848
<<: *php-service-base
4949
image: thecodingmachine/php:8.4-v4-cli
5050

51+
php85:
52+
<<: *php-service-base
53+
image: thecodingmachine/php:8.5-v4-cli
54+
5155
postgres:
5256
image: postgres:9.6
5357
environment:

tests/cases/unit/OrderResolverTest.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ class OrderResolverTest extends Tester\TestCase
171171
$groupC = $this->createGroup('test-data', false, ['data']);
172172

173173
$method = new \ReflectionMethod(Nextras\Migrations\Engine\OrderResolver::class, 'validateGroups');
174-
$method->setAccessible(true);
174+
if (PHP_VERSION_ID < 80100) {
175+
$method->setAccessible(true);
176+
}
175177
$method->invoke(new OrderResolver, [
176178
'structures' => $groupA,
177179
'data' => $groupB,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="80100"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE dibi/dibi:~4.2.7"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="dibi"

tests/matrix/dbal/dibi-5.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="80000"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE dibi/dibi:~5.0"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="dibi"

tests/matrix/dbal/doctrine-3.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="70300"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^3.3.7"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="doctrine"

tests/matrix/dbal/doctrine-4.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="80100"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^4.0"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="doctrine"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="80100"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nextras/dbal:~5.0.1"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="nextras"

tests/matrix/symfony-bundle/symfony-7.0-php-8.2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PHP_VERSION_MIN="80200"
3-
PHP_VERSION_MAX="80499"
3+
PHP_VERSION_MAX="80599"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^3.3.7"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/orm:~2.11"
66
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/doctrine-bundle:~2.6"

0 commit comments

Comments
 (0)