sweetchuck / robo-phpcs
Robo task wrapper for PHPCS
Installs: 162 536
Dependents: 58
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 5
Type:robo-tasks
pkg:composer/sweetchuck/robo-phpcs
Requires
- php: >=7.2
- ext-dom: *
- ext-json: *
- consolidation/robo: ^2.0
- sweetchuck/lint-report: ^0.1
- webmozart/path-util: ^2.3
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.1
- cweagans/composer-patches: ^1.6
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.0
- sweetchuck/codeception-module-robo-task-runner: ^0.8
- sweetchuck/git-hooks: ^0.1
- sweetchuck/robo-git: ^0.3
- symfony/yaml: ^4.0 || ^5.0
README
About
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.
When to Use
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
Install
Run composer require --dev sweetchuck/robo-phpcs
Usage
For basic usage, see RoboFile.php