Closed c-holtermann closed 7 years ago
When running this file through phpdoc 2.8.5
<?php /** * description file */ /** * description class c */ class c { /** * description property a */ public $a = 1 | 2; } ?>
the result is this error: Parse Error: Syntax error, unexpected '|', expecting ',' or ';' on line 14 No summary was found for this file
Removing the pipe symbol the documentation process works without a problem:
<?php /** * description file */ /** * description class c */ class c { /** * description property a */ public $a = 1; } ?>
This seems to be a bug.
Your issue should go to https://github.com/phpDocumentor/phpDocumentor2
Ok, thanks for the pointers. So this issue can be closed here.
When running this file through phpdoc 2.8.5
the result is this error: Parse Error: Syntax error, unexpected '|', expecting ',' or ';' on line 14 No summary was found for this file
Removing the pipe symbol the documentation process works without a problem:
This seems to be a bug.