- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
In the code base I'm currently working on there is code such as:
# use the code from the regex 'Status: ([45]\.\d\.\d{1,2})' => 'x', # use the code from the regex
which PHP_CodeSniffer correctly complains about:
5 | ERROR | Perl-style comments are not allowed. Use "// Comment." or "/* | | comment */" instead. 7 | ERROR | Perl-style comments are not allowed. Use "// Comment." or "/* | | comment */" instead.
however, running phpcbf results in "0 fixable violations"...
Would it be possible for phpcbf to auto-convert # comments to // ?
PHP_CodeSniffer version 2.0.0
(Edited as I think Github's style was making things look confused)