You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Composer compatibility macOS legs fail in setup-php on main #1210
All three macOS legs of Composer patch compatibility (native-macos) are failing on main in shivammathur/setup-php 2.37.2 (f3e473d1). PHP 8.1, 8.3 and 8.4 are all affected.
Attempt 2 at 01:39 UTC failed identically, so this is not a one-off blip
The Homebrew install runs for about 3.5 minutes and then fails:
==> Setup PHP
sed: : No such file or directory
grep: : No such file or directory
.../setup-php/f3e473d.../src/scripts/unix.sh: line 266: php: command not found
.../unix.sh: line 261: php_config: parameter null or not set
cp: /php.ini: No such file or directory
✗ PHP Could not setup PHP 8.4
This is the same failure mode as the 2026-10-07 23:51Z PHP 8.5 breakage noted in the workflow, but it now covers every version. It is likely a change in the shivammathur/php Homebrew tap that 2.37.2 can't handle.
Impact: red on main push only. The native-macos job is skipped on PRs, Composer compatibility doesn't run in merge_group, and the composer e2e legs in ci.yml are Ubuntu-only. So merging is not blocked. Ubuntu and Windows legs are green.
Next step: check whether a newer setup-php release fixes the macOS Homebrew path. If one does, pin it (by SHA) in both composer-compatibility.yml and ci.yml. Otherwise, consider installing PHP on macOS through a pinned alternative. Don't drop the macOS coverage.
Fix is in #1215. It bumps setup-php from 2.37.2 to 2.40.0, pinned by SHA, in composer-compatibility.yml and ci.yml. 2.40.0 resolves the shivammathur/php tap formula aliases before calling brew. I dispatched the workflow on that branch, and all three macOS legs (PHP 8.1, 8.3, 8.4) passed: run 37876004164.
Activity
mikolalysenko commentedon Oct 9, 2026
Fix is in #1215. It bumps setup-php from 2.37.2 to 2.40.0, pinned by SHA, in
composer-compatibility.ymlandci.yml. 2.40.0 resolves the shivammathur/php tap formula aliases before calling brew. I dispatched the workflow on that branch, and all three macOS legs (PHP 8.1, 8.3, 8.4) passed: run 37876004164.Generated by Claude Code