Skip to content

Commit 20b522d

Browse files
committed
add PHP 8.4 support
1 parent 1ea7cec commit 20b522d

12 files changed

+34
-26
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:

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Development & Running Integration Tests in Docker
3232
```
3333
3. Run tests
3434
```bash
35-
tests/run-in-docker.sh php81 tests/run-integration.sh
35+
tests/run-in-docker.sh php84 tests/run-integration.sh
3636
```
3737

3838
License

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";

tests/matrix/dbal/dibi-4.0-php-8.1.sh

Lines changed: 2 additions & 2 deletions
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"
5-
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
5+
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="dibi"

tests/matrix/dbal/dibi-5.0.sh

Lines changed: 2 additions & 2 deletions
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"
5-
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
5+
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="dibi"

tests/matrix/dbal/doctrine-3.0.sh

Lines changed: 2 additions & 2 deletions
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"
5-
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
5+
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="doctrine"

tests/matrix/dbal/doctrine-4.0.sh

Lines changed: 2 additions & 2 deletions
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"
5-
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.3"
5+
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
66
DBAL="doctrine"

tests/matrix/dbal/nextras-5.0-php-8.1-to-8.3.sh

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

0 commit comments

Comments
 (0)