Skip to content

Commit 034a1a3

Browse files
committed
Update testBug13529 to expect no errors after fix for #13539
1 parent 6159843 commit 034a1a3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/PHPStan/Analyser/AnalyserWithCheckDynamicPropertiesTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ class AnalyserWithCheckDynamicPropertiesTest extends PHPStanTestCase
1212
public function testBug13529(): void
1313
{
1414
$errors = $this->runAnalyse(__DIR__ . '/data/bug-13529.php');
15-
$this->assertCount(1, $errors);
16-
$this->assertSame('Access to an undefined property object::$bar.', $errors[0]->getMessage());
17-
$this->assertSame(8, $errors[0]->getLine());
15+
$this->assertCount(0, $errors);
1816
}
1917

2018
/**

0 commit comments

Comments
 (0)