Start a PHP_CodeSniffer run.
public process ( string | array $files, string | array $standards, array $restrictions = [], boolean $local = false ) : void | ||
$files | string | array | The files and directories to process. For directories, each sub directory will also be traversed for source files. |
$standards | string | array | The set of code sniffs we are testing against. |
$restrictions | array | The sniff codes to restrict the violations to. |
$local | boolean | If true, don't recurse into directories. |
리턴 | void |