Skip to content

ci: declare allow-plugins so composer installs the 2021 lock - #3

Merged
LTSCommerce merged 1 commit into
masterfrom
fix-composer-allow-plugins
Nov 19, 2026
Merged

LTSCommerce merged 1 commit into
masterfrom
fix-composer-allow-plugins

Conversation

@LTSCommerce

Copy link
Copy Markdown
Contributor

master's QA cannot install dependencies (seen on PR 2): "Your composer.lock was generated before the allow-plugins security feature was introduced and your composer.json does not define allow-plugins."

  • composer.json now allows the three plugins the lock carries: ergebnis/composer-normalize, infection/extension-installer, phpstan/extension-installer. The lock is not regenerated, so its locked versions are unchanged (composer will note the content hash differs).
  • ramsey/composer-install moves from v1 to v4: v1 uses a cache action version GitHub has retired.

The actions-qa-ci adoption (see PR 2) needs this on master first. This container has no PHP or composer, so this PR's run is the first proof.

🤖 Generated with Claude Code

Composer 2.2+ refuses a lock that predates allow-plugins when composer.json declares none. The three plugins in the lock (composer-normalize and the infection and phpstan extension installers) are allowed explicitly. ramsey/composer-install moves from v1, whose cache action GitHub has retired, to v4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@LTSCommerce
LTSCommerce merged commit 7b744d8 into master Nov 19, 2026
2 checks passed
@LTSCommerce
LTSCommerce deleted the fix-composer-allow-plugins branch November 19, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant