View more context

 

wmk

you need to run the other command PHPCBF

wmk

how did you implement PHPCS? using composer scripts?

Mo

I have a composer script, but in this instance was just running phpcs -s src/ tests/

Mo

I have just found this pagehttps://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically

Mo

so not only was I being dim, I was also blind!

wmk

Somehow PHPStorm can automatically call PHPCS, but I haven't configured this.