assoconnect/php-quality-config

Maintainers

👁 sylfabre

Package info

github.com/assoconnect/php-quality-config

Homepage

pkg:composer/assoconnect/php-quality-config

Statistics

Installs: 16 438

Dependents: 13

Suggesters: 0

Stars: 0

Open Issues: 2

v2.3.0 2026-03-30 08:37 UTC

MIT 114a85983955c63f65c0e5f1960ca09ec6d7914c

phpphpunitphpcsPHPStan


README

👁 Build Status
👁 Quality Gate Status

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

  • EnforceHttpsLinksRule to ban insecure links containing http: in string scalars and PHPDoc blocks
  • ForbidIdenticalClassComparisonRule to ban strict comparison of objects
  • DateTimeMustNotBeUsedRule to ban the usage of DateTime and enforce the use of DateTimeImmutable for safer and more predictable date handling

From other packages

  • phpstan/phpstan-phpunit
  • phpstan/phpstan-strict-rules
  • phpstan/phpstan-webmozart-assert
  • roave/no-floaters
  • shipmonk/phpstan-rules
  • thecodingmachine/phpstan-strict-rules

PHPCS / Code Style

Including in this package

  • PSR-12 coding standard

From other packages

  • SlevomatCodingStandard.Namespaces.UnusedUses