assoconnect/php-quality-config


README

Build Status Quality Gate Status

Installation

composer require --dev assoconnect/php-quality-config

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