Use more efficient AttributeParentConnectingVisitor
#1482
ci.yml
on: pull_request
Coding Guidelines
16s
Static Analysis
23s
Matrix: Tests
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#L50
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#L48
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#L45
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#L39
Construct empty() is not allowed. Use more strict comparison.
|
Static Analysis:
src/StaticAnalysis/AttributeParentConnectingVisitor.php#L36
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#L33
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 %
|