Open
Description
Ran phpDocumentor as phpdoc.phar with version v3.4.3 on a php 8.3 code base.
fails:
class Something
{
private const array REPLACEMENT_MAP = [ 'a' => 1 ];
}
works:
class Something
{
private const REPLACEMENT_MAP = [ 'a' => 1 ];
}
output:
[alert] Unable to parse file "Something.php", an error was detected: Syntax error, unexpected T_STRING, expecting '=' on line 5
Metadata
Metadata
Assignees
Labels
No labels