Enum class reflection extension for PHPStan
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Enum class reflection extension for PHPStan

Build Status

This extension defines dynamic methods for MyCLabs\Enum\Enum subclasses.

Usage

To use this extension, require it with Composer

composer require --dev timeweb/phpstan-enum

And include extension.neon in your project's PHPStan config

includes:
  - vendor/timeweb/phpstan-enum/extension.neon