Skip to content

chore: upgrade to PHP 8.5 - #535

Open
kayjoosten wants to merge 2 commits into
mainfrom
feature/issue-519-php85-rector
Open

chore: upgrade to PHP 8.5#535
kayjoosten wants to merge 2 commits into
mainfrom
feature/issue-519-php85-rector

Conversation

@kayjoosten

Copy link
Copy Markdown

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.
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

1 participant