-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with phpstan/phpdoc-parser
>= 1.6
#1379
Comments
example annotation |
As a workeround I added |
slevomat/coding-standard#1379 Signed-off-by: Yann 'Ze' Richard <ze@nbox.org>
Implemented in 55e5dc5 |
Awesome that it was fixed so quickly! Can we have a new tag/release @kukulich? Thanks! |
@Ilyes512 There's sponsor button on the top of this page. |
Whoa... that does sound a little passive aggressive, but I will definitly keep you in mind in future :). Your work definitly deserve compensation! |
It's easy. I work on this mostly in my free time. So if you ask for release, you can motivate me to do it :) Or just wait :) |
First of all I want to thank you for your good work of this! Im curious if it would be possible to patch this even in the 7.2 branch and release a fix version for it or is that not part of the plan? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
phpstan/phpdoc-parser@1.6.0
introducedPHPStan\PhpDocParser\Ast\PhpDoc\TypelessParamTagValueNode
in phpstan/phpdoc-parser@9d45205 which it returns instead ofPHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode
for docblock@param
definitions without a type.Slevomat typehints
ParamTagValueNode
inParameterAnnotation::__construct()
, but as ofphpdoc-parser@1.6.0
this can also beTypelessParamTagValueNode
resulting in the following error when PHPCS encounters a docblock with a typeless@param
.The text was updated successfully, but these errors were encountered: