focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.
https://github.com/phpstan/phpstan
ref - https://blog.martinhujer.cz/consistence-brings-consistency-to-the-php/
origin - https://www.pipiscrew.com/2018/02/phpstan-php-static-analysis-tool/ phpstan-php-static-analysis-tool