Closed
Description
running php bin/php-parse file.php
on
file.php:
<?php
// lint >= 8.4
namespace AbstractFinalHook;
abstract class User
{
final abstract public string $bar {
get;
}
}
leads to a Error
beeing thrown. I think thats wrong
➜ PHP-Parser git:(master) ✗ php bin/php-parse file.php
====> File file.php:
Cannot use the final modifier on an abstract class member on line 9
recent related php-src bug: php/php-src#17916
Metadata
Metadata
Assignees
Labels
No labels