Skip to content

fix: ConstantCaseFixer - do not touch typed constants #9563

fix: ConstantCaseFixer - do not touch typed constants

fix: ConstantCaseFixer - do not touch typed constants #9563

Triggered via pull request May 9, 2024 10:37
Status Failure
Total duration 1m 23s
Artifacts

sca.yml

on: pull_request
Matrix: Static Code Analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Static Code Analysis (ubuntu-20.04, 8.3): src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php#L1
Ignored error pattern #^Parameter \#1 \$token of class PhpCsFixer\\Tokenizer\\Token constructor expects array\{int, string\}\|string, array\{262, int\|string\|true\} given\.$# in path /home/runner/work/PHP-CS-Fixer/PHP-CS-Fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php was not matched in reported errors.
Static Code Analysis (ubuntu-20.04, 8.3): src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php#L330
Parameter #1 $token of class PhpCsFixer\Tokenizer\Token constructor expects array{int, string}|string, array{313, int|string|true} given.
Static Code Analysis (ubuntu-20.04, 8.3)
Process completed with exit code 1.