Skip to content

DX: Fix Mess Detector violations #9594

DX: Fix Mess Detector violations

DX: Fix Mess Detector violations #9594

Triggered via pull request May 14, 2024 01:22
Status Success
Total duration 7m 15s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Matrix: Deployment checks
Fit to window
Zoom out
Zoom in

Annotations

1 warning
PHP 8.3 mutation tests: src/Tokenizer/Analyzer/AttributeAnalyzer.php#L106
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ /** * Find one element that starts with #[ and ends with ] and the attributes inside. */ - public static function collectOne(Tokens $tokens, int $index) : AttributeAnalysis + protected static function collectOne(Tokens $tokens, int $index) : AttributeAnalysis { if (!$tokens[$index]->isGivenKind(T_ATTRIBUTE)) { throw new \InvalidArgumentException('Given index must point to an attribute.');