Skip to content

Update for phpcs 4.0.0 #441

Update for phpcs 4.0.0

Update for phpcs 4.0.0 #441

Triggered via pull request September 30, 2025 19:08
Status Failure
Total duration 44s
Artifacts

csqa.yml

on: pull_request
Basic CS and QA checks
19s
Basic CS and QA checks
PHPStan & Psalm
25s
PHPStan & Psalm
Basic Performance Guard
21s
Basic Performance Guard
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Basic CS and QA checks
Process completed with exit code 2.
Basic CS and QA checks
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires squizlabs/php_codesniffer dev-4.x, found squizlabs/php_codesniffer[dev-TEST/ghactions-revert-code-coverage-php-version, dev-feature/ghactions-test-against-libxml-2.14, dev-dependabot/github_actions/3.x/action-runners-f175f89d6c, dev-feature/3.x-metrics-for-switch-statements, dev-feature/1277-bring-back-whitespace-tolerance-ignore-comments, dev-feature/1279-tokenizer-attribute-parse-error-tokens-can-be-removed, dev-feature/3769-improve-todo-fixme-sniffs, dev-feature/psr2-namespacedeclaration-bow-out-on-php-close-tag, 1.4.2, ..., 1.5.x-dev, 2.0.0a1, ..., 2.9.x-dev, 3.0.0a1, ..., 3.x-dev, 4.0.0beta1, 4.0.0-RC1, 4.0.0, 4.x-dev] but it does not match the constraint. Problem 2 - Root composer.json requires phpcsstandards/phpcsdevcs ^1.1 -> satisfiable by phpcsstandards/phpcsdevcs[1.1.0, ..., 1.1.6]. - phpcsstandards/phpcsdevcs[1.1.0, ..., 1.1.2] require squizlabs/php_codesniffer ^3.5.0 -> found squizlabs/php_codesniffer[3.5.0, ..., 3.x-dev] but it conflicts with your root composer.json require (dev-4.x). - phpcsstandards/phpcsdevcs[1.1.3, ..., 1.1.6] require squizlabs/php_codesniffer ^3.6.2 -> found squizlabs/php_codesniffer[3.6.2, ..., 3.x-dev] but it conflicts with your root composer.json require (dev-4.x).
Basic Performance Guard
Process completed with exit code 1.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L422
Access to undefined constant PHP_CodeSniffer\Util\Tokens::EMPTY_TOKENS.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L419
Method VariableAnalysis\Lib\Helpers::getEmptyTokens() return type has no value type specified in iterable type array.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L412
Unreachable statement - code above always terminates.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L409
Static property PHP_CodeSniffer\Util\Tokens::$functionNameTokens (array<int|string, int|string>) in isset() is not nullable.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L407
Access to undefined constant PHP_CodeSniffer\Util\Tokens::FUNCTION_NAME_TOKENS.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L404
Method VariableAnalysis\Lib\Helpers::getFunctionNameTokens() return type has no value type specified in iterable type array.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L397
Unreachable statement - code above always terminates.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L394
Static property PHP_CodeSniffer\Util\Tokens::$ooScopeTokens (array<int|string, int|string>) in isset() is not nullable.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L392
Access to undefined constant PHP_CodeSniffer\Util\Tokens::OO_SCOPE_TOKENS.
PHPStan & Psalm: VariableAnalysis/Lib/Helpers.php#L389
Method VariableAnalysis\Lib\Helpers::getOoScopeTokens() return type has no value type specified in iterable type array.