Steps to replicate the issue (include links if applicable):
- Build a PHP project asking for 8.4 or asking for no version and expecting the latest
What happens?:
When requesting PHP 8.4 (https://github.com/cluebotng/report/blob/main/composer.json#L16) the build is done with 8.3 (https://github.com/cluebotng/report/actions/runs/16880206655/job/47813962965#step:3:1025)
The pack version injected appears to be:
[step-inject-buildpacks] 2025-08-11T12:36:55.353228509Z id = 'heroku/php' [step-inject-buildpacks] 2025-08-11T12:36:55.353233352Z version = '0.2.4'
Which I think is from https://github.com/heroku/buildpacks-php (the latest release being v1.0.6)
What should have happened instead?:
The build some be completed with the latest supported version (https://www.php.net/supported-versions) which has been out 6+ months.
Toolforge builder appears to only manage 8.3, it should provide the latest (this appears to be the case with Python, so is perhaps in part to how the pack works).