Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']

name: PHP ${{ matrix.php }}

Expand Down
16 changes: 16 additions & 0 deletions Dockerfile.php85
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM php:8.5-cli

RUN apt-get update && apt-get install -y \
libpq-dev \
git \
unzip \
sudo \
&& docker-php-ext-install pdo pdo_mysql pdo_pgsql mysqli pgsql \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

WORKDIR /usr/src/app

# Suppress deprecation warnings for nette/tester compatibility with PHP 8.5
RUN echo "error_reporting = E_ALL & ~E_DEPRECATED" > /usr/local/etc/php/conf.d/php85-compat.ini
6 changes: 6 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ services:
<<: *php-service-base
image: thecodingmachine/php:8.4-v4-cli

php85:
<<: *php-service-base
build:
context: .
dockerfile: Dockerfile.php85

postgres:
image: postgres:9.6
environment:
Expand Down
4 changes: 2 additions & 2 deletions tests/matrix/dbal/dibi-5.0.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
PHP_VERSION_MIN="80000"
PHP_VERSION_MAX="80499"
PHP_VERSION_MAX="80599"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE dibi/dibi:~5.0"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:dev-master"
DBAL="dibi"
6 changes: 6 additions & 0 deletions tests/matrix/dbal/doctrine-4.0-php-8.5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
PHP_VERSION_MIN="80500"
PHP_VERSION_MAX="80599"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^4.3.4"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:dev-master"
DBAL="doctrine"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
PHP_VERSION_MIN="80100"
PHP_VERSION_MAX="80499"
PHP_VERSION_MAX="80599"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nextras/dbal:~5.0.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:~2.4"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:dev-master"
DBAL="nextras"
19 changes: 19 additions & 0 deletions tests/matrix/symfony-bundle/symfony-7.0-php-8.5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
PHP_VERSION_MIN="80500"
PHP_VERSION_MAX="80599"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/dbal:^3.10.2"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/orm:~2.11"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE doctrine/doctrine-bundle:~2.6"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/cache:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/cache-contracts:~3.4.2"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/config:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/console:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/dependency-injection:^7.3.6"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/doctrine-bridge:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/error-handler:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/framework-bundle:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/http-kernel:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/var-exporter:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE symfony/yaml:^7.2.1"
COMPOSER_REQUIRE="$COMPOSER_REQUIRE nette/tester:dev-master"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the final support for released yesterday, wasn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's still broken

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least that's what Claude Code claims

Screenshot_20251124_124712

DBAL='doctrine'
2 changes: 1 addition & 1 deletion tests/run-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ tester_run_integration_group()

"$PROJECT_DIR/vendor/bin/tester" \
-C \
-o console \
-o console: \
"$PROJECT_DIR/tests/cases/integration/$INTEGRATION_GROUP"
}

Expand Down
Loading