psalm
A static analysis tool for finding errors in PHP applications. tldr-pages
On several platforms
Several platforms
Generate a Psalm configuration
psalm --initIdentifyAnalyze the current working directory
psalmIdentifyAnalyze a specific directory or file
psalm path/to/file_or_directoryIdentifyAnalyze a project with a specific configuration file
psalm --config path/to/psalm.xmlIdentifyInclude informational findings in the output
psalm --show-infoIdentifyAnalyze a project and display statistics
psalm --statsIdentifyAnalyze a project in parallel with 4 threads
psalm --threads 4Identify