Closed 8ctopus closed 4 months ago
It's possible to suppress diagnostics using the doc block annotation as in this example:
/** @disregard P1013 */ $invoice = (new Invoice()) ->setSeller(...)
Could you make it also possible to use the "one-line" comment style? I'm asking because php-cs-fixer keeps changing the former to the later.
php-cs-fixer
// @disregard P1013 $invoice = (new Invoice()) ->setSeller(...)
I believe you can configure cs fixer to ignore certain tags. https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/rules/phpdoc/phpdoc_to_comment.rst
It's possible to suppress diagnostics using the doc block annotation as in this example:
Could you make it also possible to use the "one-line" comment style? I'm asking because
php-cs-fixer
keeps changing the former to the later.