Skip to content

Commit 13ba569

Browse files
committed
Fixed build
1 parent a5d6fa7 commit 13ba569

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Type/WebMozartAssert/VariableTypeReportingRule.php

Lines changed: 4 additions & 0 deletions
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)