prinsfrank / php-validated-properties-phpstan
PHPStan extension for the php-validated-properties package
Package info
github.com/PrinsFrank/php-validated-properties-phpstan
pkg:composer/prinsfrank/php-validated-properties-phpstan
Fund package maintenance!
v0.0.3
2022-02-14 18:29 UTC
Requires
- php: ^8.1
- phpstan/phpstan: ^1.4
Requires (Dev)
README
PHPStan extension for the php-validated-properties package
To let PHPStan understand the prinsfrank/php-validated-properties package and to enable it to prevent any errors that can be detected using static analysis, a PHPStan plugin is provided. To add it to your phpstan.neon, simply run the command below;
composer require prinsfrank/php-validated-properties-phpstan --dev
And add the following line to your includes section in your phpstan.neon file:
includes: - vendor/prinsfrank/php-validated-properties/development/PHPStan/extension.neon