-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
SlevomatCodingStandard.Commenting.DocCommentSpacing crashes when using backticks with double quotes #1608
Comments
@kkmuffme do you use latest phpstan parser? It’s dependency of this repository. Can you try to upgrade it? Or if you can try our master it should be upgraded automatically |
Yes, I do use the latest parser already:
|
I just checked how this gets parsed by phpdoc-parser, the AST seems expected to me: phpstan/phpdoc-parser@5cd06e2 |
@ondrejmirtes I've tried to debug the problem and it looks there's problem with lines calculation. The
|
PHPCS 3.7.2
Slevomat 8.13.4
Running phpcbf with config:
For file: (this seems weird, but this is the minimal reproducer, in reality the code comment makes more sense, but I removed everything that isn't strictly necessary to reproduce the issue)
Click to see output in stderr with -vvv
The text was updated successfully, but these errors were encountered: