This package provides a Robo task wrapper for PHP_CodeSniffer. It integrates code style checking into your Robo task runner workflows, allowing you to lint PHP files and parse PHPCS config XML as part of your automated development processes.
The wrapper simplifies PHPCS integration by providing easy-to-use Robo tasks that can be composed into complex build and quality assurance workflows.
Use this package when you:
- Are using Robo as your task runner
- Need to lint files on Git "pre-commit" hook.
- Prefer to manage code quality checks as composable Robo tasks
Run composer require --dev sweetchuck/robo-phpcs
For basic usage, see RoboFile.php