Upgrade
1.x -> 2.x
The package has dropped Laravel 5 support. The new minimal requirements are:
- PHP 7.3+
- Laravel 6+
Enum Upgrade to V3
The module has upgraded its enum dependency from v2 to v3.
This means that all the __default
constants have been renamed to __DEFAULT
(value unchanged).
Affected classes:
UserType
All your enums must be upgraded to v3. This way the codebase fully complies with the PSR-1 standard.
This is a breaking change, so you have to check your codebase for enums that have
__default
constants defined and rename them to __DEFAULT
.