assoconnect / php-quality-config
v2.3.0
2026-03-30 08:37 UTC
Requires
- php: ^8.4
- ekino/phpstan-banned-code: ^3.0
- ergebnis/phpstan-rules: ^2.5
- moxio/php-codesniffer-sniffs: ^2.6
- phpcsstandards/phpcsextra: ^1.0
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-webmozart-assert: ^2.0
- phpunit/phpunit: ^11
- rector/rector: ^2.2
- roave/no-floaters: ^1.13
- shipmonk/phpstan-rules: ^4.2
- slevomat/coding-standard: ^8.6
- squizlabs/php_codesniffer: ^3
This package is auto-updated.
Last update: 2026-05-30 09:04:19 UTC
README
Installation
composer require --dev assoconnect/php-quality-config
In rector, you can use the ruleset:
return RectorConfig::configure() ->withSets([ __DIR__ . '/vendor/assoconnect/php-quality-config/src/Rector/rules.php', ])
PHPStan
Including in this package
EnforceHttpsLinksRuleto ban insecure links containinghttp:in string scalars and PHPDoc blocksForbidIdenticalClassComparisonRuleto ban strict comparison of objectsDateTimeMustNotBeUsedRuleto ban the usage ofDateTimeand enforce the use ofDateTimeImmutablefor safer and more predictable date handling
From other packages
phpstan/phpstan-phpunitphpstan/phpstan-strict-rulesphpstan/phpstan-webmozart-assertroave/no-floatersshipmonk/phpstan-rulesthecodingmachine/phpstan-strict-rules
PHPCS / Code Style
Including in this package
PSR-12coding standard
From other packages
SlevomatCodingStandard.Namespaces.UnusedUses