composer show | grep -E "(parser|slevomat)"
nikic/php-parser v4.17.1 A PHP parser written in PHP
phpstan/phpdoc-parser 1.24.4 PHPDoc parser with support for nullable, intersection and generic types
slevomat/coding-standard 8.14.1 Slevomat Coding Standard for PHP_CodeSniffer compl
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)
<?php
/**
* x - y"
* z - m"
*
* @param string $a
* @param string $b
*/
function foo($a, $b) {}
Afaik this issue didn't happen at the time I reported the other issue, so it might be a bug introduced since parse 4.16.0 und 4.17.1 or something in slevomat between 8.13.4 and 8.14.1, but I'm not 100% sure.
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)
It seems similar to https://github.com/slevomat/coding-standard/issues/1608 that the issue happens with the double quotes " (but no backtick in this case, additionally the config is slightly different)
Afaik this issue didn't happen at the time I reported the other issue, so it might be a bug introduced since parse 4.16.0 und 4.17.1 or something in slevomat between 8.13.4 and 8.14.1, but I'm not 100% sure.