Skip to content

chore: update to PHP 8.5 - #30

Merged
kayjoosten merged 6 commits into
mainfrom
chore/php85-composer-update
Sep 10, 2026
Merged

chore: update to PHP 8.5#30
kayjoosten merged 6 commits into
mainfrom
chore/php85-composer-update

Conversation

@kayjoosten

Copy link
Copy Markdown
Contributor

Closes #29

Composer-only update to PHP 8.5 (config.platform.php bump; require.php already permitted 8.5). Bumps hardcoded php-version in 3 CI workflow files. Verified full composer tests gate (docheader/phpcs/phpcpd/phpunit/phpmd) locally on PHP 8.5. Confirmed sebastian/phpcpd does not pull in the irstea/phpcpd-shim dead-VCS-host chain seen in a sibling repo.

PHP 8.5 surfaces implicit-nullable deprecations in Mockery generated
mocks. These ran via the @tests post-update-cmd during composer
require, failing the job before the guarded test step. Install deps
with --no-scripts so only the allowed-to-fail test step runs phpunit.

@johanib johanib Sep 8, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤔 - Maybe check both 7.4 & 8.* ?

Comment thread .github/workflows/code_checks.yaml
@kayjoosten

Copy link
Copy Markdown
Contributor Author

Checked the upcoming Symfony workflow against composer.json: this bundle now requires PHP >=8.2, <9.0-dev, so PHP 7.4 is no longer supported. Keeping that job on PHP 8.5 only is intentional. Added a CHANGELOG entry for the Composer platform bump to 8.5 and the code checks, code coverage, and upcoming Symfony workflow PHP version updates. There is no UPGRADING.md in this repo.

Composer now targets PHP 8.5 and the PR updates the CI workflows to use the same version. Add a changelog entry documenting those changes while keeping the upcoming Symfony job on PHP 8.5 because composer.json supports PHP >=8.2 only.
@johanib

johanib commented Sep 10, 2026

Copy link
Copy Markdown

Identified SF 8 breakage: #31

Out of scope for this PR.

@kayjoosten
kayjoosten merged commit dd9e8d8 into main Sep 10, 2026
2 of 3 checks passed
@kayjoosten
kayjoosten deleted the chore/php85-composer-update branch September 10, 2026 08:33
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