PHP Code Sniffer WordPress


$ phpcs --standard=WordPress /path/to/code.php
$ phpcs --standard=WordPress /path/to/code.php --report-diff=x.diff
$ patch -p0 -ui x.diff
Posted on Mon May 14 06:28:12 EDT 2018 by Subhash Chandran
wordpress php