Command-line interface
To run the checks, simply:
php artisan phecks:runIf there are any errors, the command's exit code will be 1, and the errors will be displayed as following:

Command options
--generate-baselinewill run the checks and generate the baseline from them. see baseline.--ignore-baselineWill run the checks and show all the violations (ignoring the baseline if there is any) see baseline.--format[=FORMAT]Will change the way the errors are rendered.consoleby default, but you can also havegithub. see formatters.
Last updated