We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26fedb5 commit d3d8c79Copy full SHA for d3d8c79
tests/PHPStan/Rules/Properties/AccessPropertiesRuleTest.php
@@ -349,9 +349,10 @@ public function testBug12692(): void
349
$this->checkThisOnly = false;
350
$this->checkUnionTypes = false;
351
$this->checkDynamicProperties = false;
352
- $this->analyse([__DIR__ . '/data/bug-12692.php'], [
353
- // This should not be empty!
354
- ]);
+ $this->analyse([__DIR__ . '/data/bug-12692.php'], [[
+ 'Non static access to static property Bug12692\Foo::$static.',
+ 14,
355
+ ]]);
356
}
357
358
public function testAccessPropertiesAfterIsNullInBooleanOr(): void
0 commit comments