Skip to content

Conversation

@nanasess
Copy link
Owner

@nanasess nanasess commented Aug 22, 2025

This pull request adds support for PHP 8.4 throughout the codebase, ensuring that the workflow, installer logic, and tests all recognize and handle this new version. The most important changes are:

Resolves #316

CI Workflow Updates:

  • Added PHP 8.4 to the test matrix in .github/workflows/workflow.yml, so all jobs are now run against this version.

Installer Logic:

  • Updated convertInstallVersion in src/installer.ts to recognize '8.4' and convert it to '8.4.0'.

Testing:

  • Added a test in __tests__/run.test.ts to verify that hasAptVersion correctly recognizes PHP 8.4 as available.

nanasess and others added 6 commits August 22, 2025 11:13
The dist/index.js file was out of sync with the source code changes that added PHP 8.4 support. The source code correctly included 8.4 in the APT version check (<= 8.4), but the distributed bundle still had the old version check (<= 8.3), causing PHP 8.4 to fall back to phpenv installation instead of using APT.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nanasess nanasess marked this pull request as ready for review August 22, 2025 02:49
@nanasess nanasess merged commit c4cdfcc into master Aug 22, 2025
46 checks passed
@nanasess nanasess deleted the improve/php8.4 branch August 22, 2025 02:51
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.

8.4 fails

2 participants