Robo Digipolis Code Validation
General code validation tasks for Robo Task Runner, (*1)
, (*2)
, (*3)
Commands
This package provides default commands which you can use in your RoboFile.php
like so:, (*4)
class RoboFile extends \Robo\Tasks
{
use \DigipolisGent\Robo\Task\CodeValidation\Commands\loadCommands;
}
digipolis:php-cs
vendor/bin/robo digipolis:php-cs [OPTIONS]
, (*5)
Options
--dir
The directory containing the code to validate., (*6)
--standard
The coding standard to validate the code against., (*7)
--extensions
The file extensions of the files to validate., (*8)
--ignore
Comma separated list of files/directories to ignore., (*9)
--report-type
The report type to generate (e.g. 'checkstyle' or 'json')., (*10)
--report-file
The file to output the generated report in., (*11)
digipolis:php-md
vendor/bin/robo digipolis:php-md [OPTIONS]
, (*12)
Options
--dir
The directory containing the code to check., (*13)
The format to output the code in (xml, html or text)., (*14)
--extensions
The file extensions of the files to check., (*15)
--ignore
Comma separated list of files/directories to ignore., (*16)
--minimum-priority
The rule priority threshold; rules with lower priority than this will not be
used., (*17)
--report-file
The file to output the generated report in., (*18)
--rulesets
A comma-separated string of ruleset filenames., (*19)