juliangut / phpstan-config
PHPStan configuration
Fund package maintenance!
juliangut
Installs: 4 700
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Requires
- php: ^8.0
- ergebnis/phpstan-rules: ^2.0
- kcs/psr-phpstan-rules: ^1.1
- mhujer/phpstan-rules: ^1.0
- phpstan/phpstan: ^1.12
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.5
- slam/phpstan-extensions: ^6.0
- spaze/phpstan-disallowed-calls: ^3.0
- thecodingmachine/phpstan-strict-rules: ^1.0
- ticketswap/phpstan-error-formatter: ^1.1.3
Requires (Dev)
- infection/infection: ~0.25|~0.27
- juliangut/easy-coding-standard-config: ^1.15
- overtrue/phplint: ^9.0
- phpcompatibility/php-compatibility: ^9.3
- phpmd/phpmd: ^2.14
- phpunit/phpunit: ^9.6.13|^10.4
- povils/phpmnd: ^3.2
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-12-09 07:27:19 UTC
README
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.