Description
PHP source code can be checked for type and logic errors without running the project. This command-line static analyzer is useful in editors, CI pipelines, and release gates that need deeper PHP checks. It is run from a terminal with the phpstan command. Analysis reads source code and configuration files, and reports can reveal private project structure when shared.