Skip to content

Build release with PHP 8.5#625

Merged
phavekes merged 2 commits into
mainfrom
fix-release-build-php-version
Jul 23, 2026
Merged

Build release with PHP 8.5#625
phavekes merged 2 commits into
mainfrom
fix-release-build-php-version

Conversation

@kayjoosten

Copy link
Copy Markdown
Contributor

Summary

  • component_info: PHP_VERSION=8285

The release build (build-release-and-push-container) runs composer install inside a PHP 8.2 container, but composer.json requires php: ^8.5 and resolves packages needing PHP 8.5-only APIs. Under PHP 8.2 this fails during composer's cache:clear post-install script with:

Call to undefined method ReflectionProperty::isProtectedSet()

Depends on OpenConext/Stepup-Build#15, which adds PHP 8.5 build container support — merge that first.

Test plan

  • After Stepup-Build#15 is merged, tag a release and confirm build-and-release-symfony completes without the reflection error

composer.json requires php ^8.5, but the release build container was pinned to PHP 8.2, causing a runtime crash (ReflectionProperty::isProtectedSet() undefined) during composer's post-install cache:clear step. Requires OpenConext/Stepup-Build#15 for the matching build container support.
@kayjoosten
kayjoosten requested a review from phavekes July 23, 2026 08:02

@phavekes phavekes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please also update theNODE_VERSION to match the build enviroment

@kayjoosten
kayjoosten requested a review from phavekes July 23, 2026 08:37
@phavekes
phavekes merged commit aaf82c2 into main Jul 23, 2026
2 checks passed
@phavekes
phavekes deleted the fix-release-build-php-version branch July 23, 2026 08:58
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.

2 participants