timeweb/phpstan-enum

Enum class reflection extension for PHPStan

Installs: 67 709

Dependents: 3

Suggesters: 0

Stars: 16

Watchers: 3

Forks: 1

Open Issues: 2

Type:phpstan-extension

v2.2.0 2019-07-13 13:23 UTC

README

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