Is there any option to store the output of the phpcs fixer results into a file ?
I tried the below
phpcs --standard='Symfony' -a 'path' --report-file='~/Users/uname/Desktop/PHPcs'
But it gives an error:
ERROR: The specified report file path "~/Users/uname/Desktop/PHPcs" points to a non-existent directory
Run "phpcs --help
" for usage information
Ok got the issue sorted.
When you do the below
phpcs --standard='Symfony' -a app/path --report="~\Users\uname\Desktop\PHPcs\PHPGOG.txt"
You dont have to create your own folder
PHPCS fixer will generate the report in the same path [at the place of your code ] for which you are running the phpcs fixer.