To run the checks, simply:
php artisan phecks:run
If there are any errors, the command's exit code will be 1, and the errors will be displayed as following:
1
--generate-baseline will run the checks and generate the baseline from them. see baseline.
--generate-baseline
--ignore-baseline Will run the checks and show all the violations (ignoring the baseline if there is any) see baseline.
--ignore-baseline
--format[=FORMAT] Will change the way the errors are rendered. console by default, but you can also have github. see formatters.
--format[=FORMAT]
console
github
Last updated 3 years ago