✅
Phecks
  • User Guide
    • Getting Started
    • Configuration
    • Command-line interface
    • The Baseline
    • Continuous Integration (CI)
  • About phecks
    • The idea behind it
    • What is a check?
  • Writting checks
    • Making a Check
    • Check Sources
    • Pipes
  • Examples
    • Check inspirations
    • Spatie checks
  • Advanced
    • Making sources
    • Making Pipes
    • Formatters
Powered by GitBook
On this page
  1. User Guide

Command-line interface

PreviousConfigurationNextThe Baseline

Last updated 2 years ago

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:

Command options

--generate-baseline will run the checks and generate the baseline from them. .

--ignore-baseline Will run the checks and show all the violations (ignoring the baseline if there is any) .

--format[=FORMAT] Will change the way the errors are rendered. console by default, but you can also have github. .

see baseline
see baseline
see formatters