Skip to content

adaamz/marc-mabe-php-enum-phpstan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPStan extension for php-enum

PHP-Enum enumerations with native PHP.

PHPStan is a static code analysis tool.

PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

This PHPStan extension makes enumerator accessor methods known to PHPStan.

Install

Install via Composer

composer require --dev marc-mabe/php-enum-phpstan

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

includes:
  - vendor/marc-mabe/php-enum-phpstan/extension.neon

About

PHPStan extension for php-enum

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%