--- title: PHPStan sidebar_label: PHPStan description: CodeRabbit's guide to PHPStan. --- ```mdx-code-block import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` [PHPStan](https://phpstan.org/) is a static analysis tool for PHP. ## Files PHPStan will run on files with the following extensions: - `.php` ## Configuration PHPStan supports the following config files: - `phpstan.neon` - `phpstan.neon.dist` - `phpstan.dist.neon` CodeRabbit will not run PHPStan if no config file is found. ## Links - [PHPStan Configuration](https://phpstan.org/config-reference)