Download the PHP package guuzen/psalm-enum-plugin without Composer
On this page you can find all versions of the php package guuzen/psalm-enum-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download guuzen/psalm-enum-plugin
More information about guuzen/psalm-enum-plugin
Files in guuzen/psalm-enum-plugin
Download guuzen/psalm-enum-plugin
More information about guuzen/psalm-enum-plugin
Files in guuzen/psalm-enum-plugin
Vendor guuzen
Package psalm-enum-plugin
Short Description Reports attempts to create enum with a wrong case
License MIT
Package psalm-enum-plugin
Short Description Reports attempts to create enum with a wrong case
License MIT
Please rate this library. Is it a good library?
Informations about the package psalm-enum-plugin
The problem
Psalm doesn't detect situations when we try to create backed enums using from method with a wrong literal
For example:
Might be useful if you generate OAS enums as phpdoc union literals and want to know about type problems before running your code
Installation
It needs to be enabled by either using psalm-plugin tool:
or by manually adding to your psalm.xml
All versions of psalm-enum-plugin with dependencies
PHP Build Version
Package Version
The package guuzen/psalm-enum-plugin contains the following files
Loading the files please wait ...