Use more efficient AttributeParentConnectingVisitor
#1482
Annotations
8 errors
Run PHPStan
Process completed with exit code 1.
|
Run PHPStan:
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.
|
Run PHPStan:
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 %
|
Run PHPStan:
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.
|
Run PHPStan:
src/StaticAnalysis/AttributeParentConnectingVisitor.php#L39
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
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 %
|
Run PHPStan:
src/StaticAnalysis/AttributeParentConnectingVisitor.php#L33
Method SebastianBergmann\CodeCoverage\StaticAnalysis\AttributeParentConnectingVisitor::beforeTraverse() should return array<PhpParser\Node>|null but return statement is missing.
|
Run PHPStan:
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 %
|
Loading