CmdID

CmdID / Commands

phpstan

A PHP static analysis tool to discover bugs in code. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Analyze one or more directories

phpstan analyse path/to/directory1 path/to/directory2 ...Identify

Analyze a directory using a configuration file

phpstan analyse path/to/directory --configuration path/to/configIdentify

Analyze using a specific rule level (0-10, higher is stricter)

phpstan analyse path/to/directory --level 1..10Identify

Specify an autoload file to load before analyzing

phpstan analyse path/to/directory --autoload-file path/to/autoload_fileIdentify

Specify a memory limit during analysis

phpstan analyse path/to/directory --memory-limit memory_limitIdentify

Display available options for analysis

phpstan analyse --helpIdentify