prinsfrank/php-validated-properties-phpstan

PHPStan extension for the php-validated-properties package

v0.0.3 2022-02-14 18:29 UTC

This package is auto-updated.

Last update: 2024-12-15 01:53:58 UTC


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