Download the PHP package mhujer/phpstan-consistence without Composer
On this page you can find all versions of the php package mhujer/phpstan-consistence. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mhujer/phpstan-consistence
More information about mhujer/phpstan-consistence
Files in mhujer/phpstan-consistence
Download mhujer/phpstan-consistence
More information about mhujer/phpstan-consistence
Files in mhujer/phpstan-consistence
Vendor mhujer
Package phpstan-consistence
Short Description Custom PHPStan Rules for Consistence library
License MIT
Package phpstan-consistence
Short Description Custom PHPStan Rules for Consistence library
License MIT
Please rate this library. Is it a good library?
Informations about the package phpstan-consistence
Custom PHPStan Rules for Consistence library
This repository provides following custom PHPStan rules for Consistence library
- Check that no class extends
\Consistence\ObjectPrototype
or uses\Consistence\Type\ObjectMixinTrait
somewhere in its hierarchy tree. The type of errors it prevents is caught by PHPStan so there is no need to extend/use anymore. - Check that Consistence function wrappers (from
ArrayType
) are used for array manipulation
Usage
To use those rules, require them in Composer:
And include them in your project's PHPStan config:
All versions of phpstan-consistence with dependencies
PHP Build Version
Package Version
Requires
php Version
~8.0 || ~8.1
consistence-community/consistence Version ^2.1.1
phpstan/phpstan Version ^1.0
consistence-community/consistence Version ^2.1.1
phpstan/phpstan Version ^1.0
The package mhujer/phpstan-consistence contains the following files
Loading the files please wait ....