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