Skip to content

v2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@marc-mabe marc-mabe released this 09 Feb 20:00
· 297 commits to master since this release

First pre-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