From f67946f0c05ff91e5acc56d4ae5a11a643991671 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 5 Jan 2026 12:08:46 +0000 Subject: [PATCH] Allow PHPStan extension-installer plugin in Composer config Add composer global config to explicitly allow phpstan/extension-installer plugin before installation. This resolves "blocked by your allow-plugins config" error in Composer 2.2+. Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- .github/workflows/php_quality.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/php_quality.yml b/.github/workflows/php_quality.yml index 0f8763b..d1ba02e 100644 --- a/.github/workflows/php_quality.yml +++ b/.github/workflows/php_quality.yml @@ -108,6 +108,7 @@ jobs: env: COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}' run: | + composer global config --no-plugins allow-plugins.phpstan/extension-installer true composer global require phpstan/phpstan "^1.0" --with-all-dependencies composer global require phpstan/extension-installer "^1.0" --with-all-dependencies