phpstan consistence
1.0.0
This repository provides following custom PHPStan rules for Consistence library
ConsistenceObjectPrototype or uses ConsistenceTypeObjectMixinTrait somewhere in its hierarchy tree. The type of errors it prevents is caught by PHPStan so there is no need to extend/use anymore.ArrayType) are used for array manipulationTo use those rules, require them in Composer:
composer require --dev mhujer/phpstan-consistenceAnd include them in your project's PHPStan config:
includes:
- vendor/mhujer/phpstan-consistence/rules.neon