phpcbf Command Examples

Fix violations detected by phpcs. More information: https://github.com/squizlabs/PHP_CodeSniffer.

phpcbf {{path/to/directory}}

phpcbf -i

phpcbf {{path/to/directory}} --standard {{standard}}

phpcbf {{path/to/directory}} --extensions {{file_extension1,file_extension2,...}}

phpcbf {{path/to/directory}} --bootstrap {{path/to/file1,path/to/file2,...)}}

phpcbf {{path/to/directory}} -l