Skip to content

chore: upgrade to PHP 8.5 - #535

Merged
kayjoosten merged 5 commits into
mainfrom
feature/issue-519-php85-rector
Sep 15, 2026
Merged

kayjoosten merged 5 commits into
mainfrom
feature/issue-519-php85-rector

Conversation

@kayjoosten

Copy link
Copy Markdown
Contributor

Closes #519

Bumps Docker base images, Composer dependencies, and yarn dependencies to PHP 8.5, plus Rector cleanup. Verified full CI gate (composer check-ci: phplint/phpmd/phpcs/jscpd/docheader/phpstan/phpunit) in the real ghcr.io/openconext/openconext-basecontainers/php85-apache2-node24 container. 85/85 tests passing, phpstan clean.

Bump PHP constraint to ^8.5, switch CI/Docker to the php85-apache2-node24
base images, and run Rector's PHP 8.3/8.4/8.5 rule sets. Skip
NewMethodCallWithoutParenthesesRector since phpmd's PDepend parser can't
yet handle that PHP 8.4 syntax. Also fixes two lingering phpstan/phpcs
issues surfaced by the upgrade.
Bumps fast-uri, svgo, postcss, jscpd, less, and webpack to the versions
proposed by dependabot PRs #527, #522, #525, and #518. All resolve
within existing package.json semver ranges via yarn upgrade, so
package.json is unchanged. jscpd's newer engine requirement is already
satisfied by the php85-apache2-node24 CI image from the previous commit.

@johanib johanib left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Update changelog + update md.
Also check component_info if exists.

Then, 🟢 to merge.

@kayjoosten
kayjoosten force-pushed the feature/issue-519-php85-rector branch 2 times, most recently from 8f47c41 to a21db5e Compare September 14, 2026 10:34
- Add unreleased changelog entry for PHP 8.5/Node 24 upgrade
- Bump component_info PHP_VERSION to 85 and NODE_VERSION to 24
@kayjoosten
kayjoosten requested a review from johanib September 14, 2026 10:42
@kayjoosten
kayjoosten merged commit 4e1037c into main Sep 15, 2026
1 of 2 checks passed
@kayjoosten
kayjoosten deleted the feature/issue-519-php85-rector branch September 15, 2026 08:10
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.

Upgrade to PHP 8.5 and apply Rector cleanup

2 participants