phpcbf
Fix violations detected by phpcs. tldr-pages
On several platforms
Several platforms
Fix issues in the specified directory (defaults to the PEAR standard)
phpcbf path/to/directoryIdentifyDisplay a list of installed coding standards
phpcbf -iIdentifySpecify a coding standard to validate against
phpcbf path/to/directory --standard standardIdentifySpecify comma-separated file extensions to include when sniffing
phpcbf path/to/directory --extensions file_extension1,file_extension2,...IdentifySpecify a comma-separated list of files to load before processing
phpcbf path/to/directory --bootstrap path/to/file1,path/to/file2,...IdentifyDon't recurse into subdirectories
phpcbf path/to/directory -lIdentify