Opinionated as can be configuration defaults for PHPStan
composer require --dev juliangut/phpstan-config
If You need a specific PHPStan constraint
composer require --dev phpstan/phpstan:^1.11
Include in your phpstan configuration file
includes:
- %rootDir%/../../juliangut/phpstan-config/phpstan.neon
# Add your custom configuration if needed
includes:
- %rootDir%/../../juliangut/phpstan-config/phpstan-phpunit.neon
# Add your custom configuration if needed
Found a bug or have a feature request? Please open a new issue. Have a look at existing issues before.
See file CONTRIBUTING.md
See file LICENSE included with the source code for a copy of the license terms.