From cf6136ae89af2c7106afa9f85b779d64acd60c60 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Nov 2026 18:04:30 +0000 Subject: [PATCH] drop phpcs-run from the Scrutinizer build phpcs-run installs an old, pinned squizlabs/php_codesniffer on the fly. Recent Composer refuses it because of security advisories (policy.advisories.block), so the step exits with code 2 and the Scrutinizer build on main is red. Code style is already enforced by php-cs-fixer in CI, so keep only php-scrutinizer-run for the analysis node. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015LePQ4u8ufuFn39tY3LDPD --- .scrutinizer.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 26e02fd5..4a587e55 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,4 +1,11 @@ build: environment: php: 8.0 - + nodes: + analysis: + tests: + # No phpcs-run: code style is enforced by php-cs-fixer in CI, and + # phpcs-run installs a pinned PHP_CodeSniffer that recent Composer + # refuses because of security advisories. + override: + - php-scrutinizer-run