1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-13 22:24:03 +00:00
Commit graph

2 commits

Author SHA1 Message Date
859fb9a03c from(int|string), tryFrom(int|string) 2025-06-07 01:03:01 +02:00
Samuel Levy
373a86a16e
Added "Invokable Cases" PHPStan extension (#13)
* Added "Invokable Cases" PHPStan extension

This includes a PHPStan extension to add support for `InvokableCases`
so that static analysis tools can understand the callable methods and
their return types.

The extension has been added in a way that will allow multiple extensions
in the future if required, with a single include file that will import
all extensions, or the option to include only specific extensions.

* Added "Invokable Cases" PHPStan extension testing
2022-08-25 00:27:44 +02:00