juliangut / phpstan-config
PHPStan configuration
Fund package maintenance!
juliangut
Installs: 5 067
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: ^8.0
- ergebnis/phpstan-rules: ^2.5
- kcs/psr-phpstan-rules: ^1.1
- mhujer/phpstan-rules: ^1.0
- phpstan/phpstan: ^1.12
- phpstan/phpstan-deprecation-rules: ^1.2
- phpstan/phpstan-phpunit: ^1.4
- phpstan/phpstan-strict-rules: ^1.6
- shipmonk/phpstan-rules: ^3.2
- slam/phpstan-extensions: ^6.0
- spaze/phpstan-disallowed-calls: ^4.0.1
- thecodingmachine/phpstan-strict-rules: ^1.0
- ticketswap/phpstan-error-formatter: ^1.1.4
Requires (Dev)
- infection/infection: ~0.25|~0.27
- juliangut/easy-coding-standard-config: ^1.20
- overtrue/phplint: ^9.0
- phpcompatibility/php-compatibility: ^9.3
- phpmd/phpmd: ^2.14
- phpunit/phpunit: ^9.6.13|^10.5
- povils/phpmnd: ^3.5
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-12-24 10:52:03 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.