timeweb/phpstan-enum

Enum class reflection extension for PHPStan

Installs: 240 872

Dependents: 6

Suggesters: 0

Security: 0

Stars: 32

Watchers: 4

Forks: 4

Open Issues: 2

Type:phpstan-extension

v2.2.4 2020-12-14 21:29 UTC

README

Packagist Version GitHub Workflow 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