Skip to content

v3.0.0-rc3

Pre-release
Pre-release
Compare
Choose a tag to compare
@marc-mabe marc-mabe released this 27 Oct 17:49
· 171 commits to master since this release
df05fed

Third Release Candidate of new major version

Changes

  • #94 optimized Enum::detectConstants() using assertion to check for ambiguous enumerator values
    • this method is called once on initialize an enumeration

BC-breaks:

  • #94 Now on initialize an enumeration with ambiguous enumerator values an AssertionError will be thrown (PHP>=7) or a warning will be triggered (PHP<=5.6) only in case assertions are enabled (development mode) else no error will be thrown. Please read here how assertions work.