nateageek / robo-phplint
This is a wrapper to the overtune/phplint, and allows it to be run in a robo task
Installs: 7 136
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Type:robo-tasks
Requires
- consolidation/robo: ^1 || ^2
- overtrue/phplint: ^1.2
- php-parallel-lint/php-console-highlighter: dev-master as 0.5
Requires (Dev)
- phpunit/phpunit: ^7.1
This package is auto-updated.
Last update: 2025-03-14 05:38:43 UTC
README
Require the repo via composer require nateageek/robo-phplint
Usage
<?php class RoboFile extends \Robo\Tasks { use NateAGeek\Robo\Task\PHPLint\Tasks; function testLint() { //This will run phplint on all *.php files in the directory /phplint-code // Also will return any errors found as an array. $this->taskPHPLintTask("/phplint-code") ->run(); } }