phpstan

phpstan

TLDR

Display available options for analysis

>_ phpstan analyse --help
copy

Analyse the specified space-separated directories

>_ phpstan analyse [path/to/directory]
copy

Analyse a directory using a configuration file

>_ phpstan analyse [path/to/directory] --configuration [path/to/config]
copy

Analyse using a specific rule level (0-7, higher is stricter)

>_ phpstan analyse [path/to/directory] --level [level]
copy

Specify an autoload file to load before analysing

>_ phpstan analyse [path/to/directory] --autoload-file [path/to/autoload_file]
copy

Specify a memory limit during analysis

>_ phpstan analyse [path/to/directory] --memory-limit [memory_limit]
copy

Copied to clipboard
free 100$ digital ocean credit