Skip to content

Add pcov extension to PHP 8.5 images - #28

Merged
f3l1x merged 2 commits into
masterfrom
claude/install-pcov-extension-x59vfl
Sep 9, 2026
Merged

Add pcov extension to PHP 8.5 images#28
f3l1x merged 2 commits into
masterfrom
claude/install-pcov-extension-x59vfl

Conversation

@f3l1x

@f3l1x f3l1x commented Sep 7, 2026

Copy link
Copy Markdown
Member

Rebased on current master, which already ships pcov for 7.1-8.4. What is left:

  • Install php8.5-pcov in 8.5/Dockerfile and 8.5-fpm/Dockerfile, so every image that can have pcov now does.
  • Mark pcov as available for 8.5 in the README extension table.
  • Add a test-pcov-% smoke test, called from test-cli-% and test-fpm-%, that fails when pcov is missing from an image built for PHP >= 7.1.

5.6 and 7.0 are left unchanged: pcov requires PHP >= 7.1.0, so no php5.6-pcov/php7.0-pcov package exists. The version guard in test-pcov-% exempts them.

Testing

CI run 105 is green: all 24 images build, and make test-cli-8.5 / make test-fpm-8.5 pass with the new pcov assertion (PHP 8.5.10, pcov loaded).

🤖 Generated with Claude Code

https://claude.ai/code/session_01KXMvf7N1S6F7E4fQKP96sA

Install the php8.5-pcov package (code coverage driver) in the PHP 8.5 CLI
and FPM Dockerfiles and mark pcov as available for 8.5 in the README
extension table. Images for 7.1-8.4 already ship pcov.

pcov requires PHP >= 7.1, so the 5.6 and 7.0 images are left unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXMvf7N1S6F7E4fQKP96sA
The cli and fpm smoke tests now run a test-pcov-* check that fails when
the pcov extension is missing from an image built for PHP >= 7.1. Images
older than 7.1 are exempt, since pcov does not support them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KXMvf7N1S6F7E4fQKP96sA
@f3l1x
f3l1x force-pushed the claude/install-pcov-extension-x59vfl branch from 7b33b38 to e83fbc6 Compare September 9, 2026 06:16
@f3l1x f3l1x changed the title Add pcov extension to PHP 7.1-8.5 images Add pcov extension to PHP 8.5 images Sep 9, 2026
@f3l1x
f3l1x merged commit 9cf0cee into master Sep 9, 2026
27 checks passed
@f3l1x
f3l1x deleted the claude/install-pcov-extension-x59vfl branch September 9, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants