Skip to content

Commit 8888d5f

Browse files
committed
add PHP 8.4 support
1 parent 1ea7cec commit 8888d5f

File tree

13 files changed

+16
-12
lines changed

13 files changed

+16
-12
lines changed

.github/workflows/qa.yaml

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

2121
name: PHP ${{ matrix.php }}
2222

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ services:
4444
<<: *php-service-base
4545
image: thecodingmachine/php:8.3-v4-cli
4646

47+
php84:
48+
<<: *php-service-base
49+
image: thecodingmachine/php:8.4-v4-cli
50+
4751
postgres:
4852
image: postgres:9.6
4953
environment:

tests/inc/TestPrinter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct()
2121
}
2222

2323

24-
protected function output(string $s, string $color = null): void
24+
protected function output(string $s, ?string $color = null): void
2525
{
2626
$this->lines[] = preg_replace('#; \d+\.\d+ s#', '; XX s', $s);
2727
$this->out .= "$s\n";
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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE dibi/dibi:~4.2.7"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE dibi/dibi:~5.0"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^3.3.7"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^4.0"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
66
DBAL="doctrine"

tests/matrix/dbal/nette-3.0-php-8.1.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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/database:~3.1.4"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/caching:~3.0"
66
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
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="70400"
3-
PHP_VERSION_MAX="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nextras/dbal:~4.0.3"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
66
DBAL="nextras"
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="80399"
3+
PHP_VERSION_MAX="80499"
44
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nextras/dbal:~5.0@dev"
55
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
66
DBAL="nextras"

0 commit comments

Comments
 (0)