Skip to content

Commit 490050c

Browse files
committed
Fix test
1 parent c54fa59 commit 490050c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/PHPStan/Rules/Properties/AccessPropertiesRuleTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,11 @@ public function testPhp82AndDynamicProperties(bool $b): void
859859
112,
860860
$tipText,
861861
];
862+
$errors[] = [
863+
'Access to an undefined property Php82DynamicProperties\ReadonlyWithMagic::$foo.',
864+
133,
865+
$tipText,
866+
];
862867
}
863868
$this->checkThisOnly = false;
864869
$this->checkUnionTypes = true;

0 commit comments

Comments
 (0)