phpcs
Verified for current stable LTS
Phpcs Commands
Phpcs command syntax with verified terminal examples.
Commands
8 commands for Phpcs
phpcs Operations
Phpcs Command: Avoid Recursion Into Subdirectories
phpcs <path/to/directory> -l phpcs Operations
Phpcs Command: Include Specific File Extensions
phpcs <path/to/directory> --extensions <file_extension1,file_extension2,...> phpcs Operations
Phpcs Command: List Installed Coding Standards
phpcs -i phpcs Operations
Phpcs Command: Load Files Before Processing
phpcs <path/to/directory> --bootstrap <path/to/file1,path/to/file2,...> phpcs Operations
Phpcs Command: Set Configuration Variable
phpcs <path/to/directory> --config-set <key> <value> phpcs Operations
Phpcs Command: Set Output Report Format
phpcs <path/to/directory> --report <format> phpcs Operations
Phpcs Command: Sniff Directory Default Standard
phpcs <path/to/directory> phpcs Operations
Phpcs Command: Specify Coding Standard When Sniffing
phpcs <path/to/directory> --standard <standard> Suggest a Phpcs Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Phpcs workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.