Deprecated static properties are not detected when called in child class
Khartir opened this issue · 1 comments
Khartir commented
This code does not produce any error:
class Foo
{
/**
* @deprecated
*/
protected static string $foo = '';
}
class Bar extends Foo
{
public function test(): void
{
echo self::$foo;
}
}github-actions commented
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.