Releases: CuyZ/MagicConstant
Releases · CuyZ/MagicConstant
2.2.0
What's Changed
Added support for PHP 8.4
Full Changelog: 2.1.0...2.2.0
2.0.0
This major version bumps the minimum PHP version to 8.2
1.1.0
This version introduces a tryFrom
method.
This method tries to create an instance and returns null
instead of
throwing an exception for invalid values.
It mimics the PHP 8.1 Enum::tryFrom
method for easier refactoring.
1.0.1
Add handling of dynamic versions of the class
0.3.0 - Full coverage
Remove the local dependency on infection
0.2.1
Add a dockblock to have a more precise return type
0.2.0
Add a method to get an instance in a different format