assoconnect/php-quality-config
A dev quality-tooling config for AssoConnect projects, bundling PHPStan rules (HTTPS link enforcement, no DateTime, strict object comparison), a Rector ruleset, and PSR-12 PHPCS standards to keep code consistent and safe.
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',
])
EnforceHttpsLinksRule to ban insecure links containing http: in string scalars and PHPDoc blocksForbidIdenticalClassComparisonRule to ban strict comparison of objectsDateTimeMustNotBeUsedRule to ban the usage of DateTime and enforce the use of DateTimeImmutable for safer and more predictable date handlingphpstan/phpstan-phpunitphpstan/phpstan-strict-rulesphpstan/phpstan-webmozart-assertroave/no-floatersshipmonk/phpstan-rulesthecodingmachine/phpstan-strict-rulesPSR-12 coding standardSlevomatCodingStandard.Namespaces.UnusedUsesHow can I help you explore Laravel packages today?