Skip to content

chore: require patched PHP versions - #11

Merged
redlohaus merged 1 commit into
masterfrom
chore/validate-patched-php-versions
Oct 23, 2026
Merged

redlohaus merged 1 commit into
masterfrom
chore/validate-patched-php-versions

Conversation

@lhbarrientosz

Copy link
Copy Markdown
Collaborator

Compatibility Validation

Validation was performed against the current working tree based on commit 261d9ce8512ec3a2f81ced2f264b9e2c89cd78d9, including its existing local changes. No repository files or host dependencies were modified during the validation process.

Validation Results

PHP Runtime Platform Requirements PHP Syntax PHPUnit PHP-CS-Fixer PHPStan
8.3.36 ✅ Passed ✅ Passed (all 5 project PHP files) ✅ Passed (19 tests, 71 assertions) ✅ Passed (no changes required) ✅ Passed (no errors)
8.4.27 ✅ Passed ✅ Passed (all 5 project PHP files) ✅ Passed (19 tests, 71 assertions) ✅ Passed (no changes required) ✅ Passed (no errors)
8.5.12 ✅ Passed ✅ Passed (all 5 project PHP files) ✅ Passed (19 tests, 71 assertions) ✅ Passed (no changes required) ✅ Passed (no errors)

PHPUnit was executed with E_ALL enabled and configured to fail on warnings, deprecations, and risky tests. Additional smoke tests covering Error handling, context preservation, and the default logger also passed successfully on all three PHP runtimes.

Tooling Versions

Composer resolved the following dependency versions during validation:

  • PHPUnit 11.5.57
  • PHP-CS-Fixer 3.95.27
  • PHPStan 2.3.1
  • psr/log 3.0.2

The repository does not include a committed composer.lock file. As a result, dependency resolution was performed independently within disposable containers for each validation run.

Note: Xdebug and PCOV were not available during execution. Code coverage was not measured.

Scope and Caveats

These results validate compatibility for the tested CLI runtimes and the dependency set resolved during validation. They do not guarantee compatibility with every possible dependency combination or web SAPI environment.

The historical Travis CI configuration still targets PHP 7.1, which is incompatible with the current Composer PHP requirement. If Travis CI is still active, its configuration should be updated accordingly.

Finally, upgrading Composer constraints does not upgrade deployed PHP runtimes. Production environments must be upgraded separately, and PHP workers/processes should be restarted or redeployed to ensure the new runtime version is actually in use.

@lhbarrientosz
lhbarrientosz requested a review from a team as a code owner October 23, 2026 00:58
@redlohaus
redlohaus merged commit 484fb68 into master Oct 23, 2026
4 checks passed
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