jdecool/enum-phpstan

This package is abandoned and no longer maintained. No replacement package was suggested.

PHPStan extension for jdecool/enum

1.0.0 2020-12-09 20:02 UTC

This package is auto-updated.

Last update: 2022-02-09 22:53:05 UTC


README

Build Status Latest Stable Version

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

Deprecated

⚠️ This project is no longer actively maintained.

Native enum arrived to PHP in version 8.1: https://www.php.net/enumerations If your project is running PHP 8.1+ or your library has it as a minimum requirement you should use it instead of this library.

Usage

To use this extension, require it with Composer.

composer require --dev jdecool/enum-phpstan

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

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