Skip to content

Add pnpm and PHP coverage extension testing to fx image#9

Merged
f3l1x merged 2 commits into
masterfrom
claude/fx-xdebug-pcov-pnpm-g6cwk7
Jul 19, 2026
Merged

Add pnpm and PHP coverage extension testing to fx image#9
f3l1x merged 2 commits into
masterfrom
claude/fx-xdebug-pcov-pnpm-g6cwk7

Conversation

@f3l1x

@f3l1x f3l1x commented Jul 19, 2026

Copy link
Copy Markdown
Member

Summary

This PR adds pnpm package manager support and PHP code coverage extension validation to the fx Docker image, along with corresponding test cases to verify their availability.

Key Changes

  • Added pnpm installation: Installed globally via npm in the fx Dockerfile alongside other Node.js tools
  • Added pnpm test case: New _testcase-pnpm target to verify pnpm is available and functional
  • Added PHP coverage extension testing: New _testcase-php-coverage target that validates both xdebug and pcov extensions are loaded
  • Updated test-fx target: Integrated the new test cases into the main fx test suite
  • Updated documentation: Modified README to reflect that the image now includes pnpm alongside Node.js and npm

Implementation Details

  • pnpm is installed globally using npm, consistent with the existing approach for other Node.js tools
  • PHP coverage validation checks for both xdebug and pcov extensions using PHP's extension_loaded() function, ensuring code coverage tools are available for testing
  • All new test cases follow the existing pattern of using $(TEST_RUN) for Docker execution

https://claude.ai/code/session_01YJ16dnsPY3NSbSotdvT7jE

claude added 2 commits July 19, 2026 19:00
- Install pnpm globally via npm in the fx image
- Add Makefile test cases for pnpm and the xdebug/pcov PHP
  extensions to the fx test suite
- Go 1.24.2 -> 1.26.5 (fx, golang)
- Node.js 22 -> 24 LTS (all variants)
- glab (GitLab CLI) 1.107.0 -> 1.108.0 (all variants)

PHP (Ondrej PPA), Deno, Bun, Composer and npm globals are unpinned
and already track their latest releases.
@f3l1x
f3l1x merged commit 492b90d into master Jul 19, 2026
11 checks passed
@f3l1x
f3l1x deleted the claude/fx-xdebug-pcov-pnpm-g6cwk7 branch July 19, 2026 19:34
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