Skip to content

Commit c6fc1c9

Browse files
committed
Fixed build
1 parent 4d44503 commit c6fc1c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: tests/Type/BeberleiAssert/VariableTypeReportingRule.php

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public function processNode(Node $node, Scope $scope): array
2727
return [];
2828
};
2929

30+
if ($scope->isInExpressionAssign($node)) {
31+
return [];
32+
}
33+
3034
return [
3135
sprintf(
3236
'Variable $%s is: %s',

0 commit comments

Comments
 (0)