Skip to content

Use more efficient AttributeParentConnectingVisitor #11

Use more efficient AttributeParentConnectingVisitor

Use more efficient AttributeParentConnectingVisitor #11

Triggered via push April 26, 2025 17:19
Status Failure
Total duration 1m 17s
Artifacts

ci.yml

on: push
Coding Guidelines
14s
Coding Guidelines
Static Analysis
23s
Static Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Coding Guidelines
Process completed with exit code 8.
Static Analysis
Process completed with exit code 1.
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L47
Method SebastianBergmann\CodeCoverage\StaticAnalysis\AttributeParentConnectingVisitor::leaveNode() should return array<PhpParser\Node>|int|PhpParser\Node|null but return statement is missing.
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L46
Out of 738 possible return types, only 735 - 99.5 % actually have it. Add more return types to get over 100 %
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L43
Method SebastianBergmann\CodeCoverage\StaticAnalysis\AttributeParentConnectingVisitor::enterNode() should return array<PhpParser\Node>|int|PhpParser\Node|null but return statement is missing.
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L37
Construct empty() is not allowed. Use more strict comparison.
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L35
Out of 738 possible return types, only 735 - 99.5 % actually have it. Add more return types to get over 100 %
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L32
Method SebastianBergmann\CodeCoverage\StaticAnalysis\AttributeParentConnectingVisitor::beforeTraverse() should return array<PhpParser\Node>|null but return statement is missing.
Static Analysis: src/StaticAnalysis/AttributeParentConnectingVisitor.php#L31
Out of 738 possible return types, only 735 - 99.5 % actually have it. Add more return types to get over 100 %