Skip to content

upgrade Engine block to php 8.5#1962

Open
kayjoosten wants to merge 4 commits intomainfrom
feature/issue-1847-upgrade-php8.5
Open

upgrade Engine block to php 8.5#1962
kayjoosten wants to merge 4 commits intomainfrom
feature/issue-1847-upgrade-php8.5

Conversation

@kayjoosten
Copy link
Copy Markdown
Contributor

No description provided.

- Rename Dockerfile-php82 → Dockerfile-php85, use php85-apache2-node24 base image
- Rename docker-compose-php82.yml → docker-compose-php85.yml
- Update Dockerfile.prod to php85-apache2
- Update docker-compose-tag-release.yml to php85-apache2-node24
- Bump composer.json PHP constraint to ^8.5, run composer update
- Run yarn upgrade for Node 24 compatibility
- Update GitHub Actions matrix and PROD_PHP to php85

Fixes #1847
Apply ExplicitNullableParamTypeRector across src/, library/ and tests/
to replace implicit nullable params (Foo $x = null) with explicit
nullable types (?Foo $x = null), fixing the PHP 8.5 deprecation that
was crashing the PHPUnit bootstrap.

794 PHPUnit tests passing on PHP 8.5 after this change.
- Bindings.php: replace null array key with empty string
- NameIdResolver.php: cast spId/idpId to string before session access
- XmlToArray.php: remove xml_parser_free() deprecated since PHP 8.5

All 277 Behat scenarios now pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant