Skip to content

v2.0.0

Compare
Choose a tag to compare
@marc-mabe marc-mabe released this 24 Feb 16:31
· 293 commits to master since this release

First stable release of the 2.0 branch.

Changes:

  • Inherited enumerations will be handled as own enumeration types
  • EnumSet is based on a real bitset now
  • Removed unnecessary source folder for PSR-4 autloading
  • Added Enum::getEnumerators()

BC-breaks:

  • EnumSet: Max. possible enumerators are limited by the size of an integer (32 or 64)
  • Enum::is() no longer returns TRUE on inherited enumerations

see https://github.com/marc-mabe/php-enum/issues?q=is%3Aissue+is%3Aclosed+milestone%3A2.0.0