Use more efficient AttributeParentConnectingVisitor #11
Annotations
8 errors
Run PHPStan
Process completed with exit code 1.
|
Run PHPStan:
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.
|
Run PHPStan:
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 %
|
Run PHPStan:
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.
|
Run PHPStan:
src/StaticAnalysis/AttributeParentConnectingVisitor.php#L37
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
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 %
|
Run PHPStan:
src/StaticAnalysis/AttributeParentConnectingVisitor.php#L32
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