phpdoc-parser icon indicating copy to clipboard operation
phpdoc-parser copied to clipboard

Next-gen phpDoc parser with support for intersection types and generics

Results 37 phpdoc-parser issues
Sort by recently updated
recently updated
newest added

# Bug report Since PHP 8.1, it is possible to use `new` as default parameters (["new in initializers"](https://www.php.net/releases/8.1/en.php#new_in_initializers) [RFC](https://wiki.php.net/rfc/new_in_initializers)). PHPStan gets it perfectly, but things stop working once we move...

The MethodTagValue doesn't contain an property returnsReference. This is not a very common option to use but we found a few of them in the wild. Full blown example will...

The param requires a paramname, however, this could be omitted when the param tag is describing just a single argument method or all other params are adequately documented. For example:...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Eomm/why-don-t-you-tweet](https://togithub.com/Eomm/why-don-t-you-tweet) | action | major | `v1` -> `v2` | ---...

I got an issue report on my project https://github.com/phpDocumentor/ReflectionDocBlock/issues/365 where we found an issue in this parser. Summarized the users are facing an issue with tag descriptions containing empty lines....

This is a preliminary syntax implementation for subtraction type syntax. Merging now isn't necessary because the work in phpstan-src is far from done. Any feedback is still appreciated though.