GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - timeweb/phpstan-enum: Enum class reflection extension for PHPStan

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
extension.neon
extension.neon
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 
rules.neon
rules.neon
 
 

Repository files navigation

Enum class reflection extension for PHPStan

Build Status License Latest Stable Version Latest Unstable Version

  • PHPStan
  • PHP Enum

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

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

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

Install for Local Development

With docker

git clone [email protected]:timeweb/phpstan-enum.git
cd phpstan-enum
make docker-build
make install
make phpunit

Without docker (localy installed actual version of php, composer, etc)

git clone [email protected]:timeweb/phpstan-enum.git
cd phpstan-enum
make install
make phpunit

About

Enum class reflection extension for PHPStan

Topics

enumhacktoberfestphpstanphpstan-extension

Resources

Readme
MIT license
Activity
Custom properties

Stars

44 stars

Watchers

5 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.