phpstan
PHPStan is a static analysis tool that focuses on detecting errors without having to run your code. It captures error classes before writing tests, ensuring that code accuracy is audited. It features features such as the paid Pro version, which offers an online gaming space and web interface.
phpstan
95phpstan · Code Quality & Review
Common commercial products in this category: SonarCloud, Codacy, DeepSource
- You detect errors without running your code.
- You continuously analyze changing files by scanning them in the background.
- You scan for errors found through the web interface and open them in the editor.
- • High number of open issues (1,118)
- • NeutralGitHub Issue
Consider 1.0.0 for the next release number
“Since PHPStan is becoming wildly popular really quick, and a lot of people rely on its stability, it is a good idea to start versioning new majors for anything that might slightly look like a BC break. (<insert reminder that major versions can be released anytime)”
- • NeutralGitHub Issue
Do not execute tested code
“Currently PHPStan claims to be „PHP Static Analysis Tool“ but this is actually a lie, because phpstan executes the tested code which makes using the tool quite dangerous. The correct solution is to use a library such as”