Skip to content

Add pcov to PHP 7.1-8.4 images - #27

Merged
f3l1x merged 3 commits into
masterfrom
claude/pcov-installation-setup-qths3o
Aug 11, 2026
Merged

Add pcov to PHP 7.1-8.4 images#27
f3l1x merged 3 commits into
masterfrom
claude/pcov-installation-setup-qths3o

Conversation

@f3l1x

@f3l1x f3l1x commented Aug 11, 2026

Copy link
Copy Markdown
Member

Adds the pcov code coverage driver to the PHP images, mirroring dockette/ci#17 which does the same for the Alpine CI images.

Changes

One line per Dockerfile, slotted alphabetically before pdo in the existing apt install --no-install-recommends list:

php8.4-pcov \

Applied to 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and each matching -fpm variant (18 Dockerfiles), plus the extension list in README.md.

Versions left out

  • 5.6, 7.0 — pcov requires PHP >= 7.1, so there is no package to install.
  • 8.5, 8.5-fpmphp8.5-pcov could not be confirmed as published at deb.sury.org; PHP 8.5 extension packages were still landing there and pcov was among those reported missing. Since 8.5 is what the fast test job builds, guessing here would block the whole pipeline. Easy follow-up once availability is confirmed.

Verification

Not built locally — this environment has no Docker daemon and outbound access to the package indexes is blocked by the network egress proxy, so the apt package names could not be resolved here. The build matrix on this PR is what actually confirms them.

Note that pcov ships enabled by default (pcov.enabled=1). These images carry no xdebug, so there is no extension conflict, but coverage collection will be active unless disabled via conf.d/custom.ini.


Generated by Claude Code

claude added 3 commits August 11, 2026 09:03
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011sNqP1fsSPcDjcmLhWjNmD
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011sNqP1fsSPcDjcmLhWjNmD
The test job ran "make test-8.5", which is not a target. The Makefile
provides test-cli-% and test-fpm-% pattern rules, so map each matrix
item to the target matching the image it builds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011sNqP1fsSPcDjcmLhWjNmD
@f3l1x
f3l1x merged commit 8b0e55b into master Aug 11, 2026
25 of 27 checks passed
@f3l1x
f3l1x deleted the claude/pcov-installation-setup-qths3o branch August 11, 2026 10:30
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