Skip to content

Releases: myclabs/php-enum

1.7.2

19 Aug 13:53
45f01ad
Compare
Choose a tag to compare

Fixed #95 with #97: handle inherited enums

1.7.1

05 May 10:12
f468476
Compare
Choose a tag to compare
  • Compatibility with PHP 7.1
  • #90 New PHPUnit comparator to help with tests

1.7.0

23 Apr 12:07
e00b7b3
Compare
Choose a tag to compare
  • #88: require PHP 7.2 + add a return type to the equals() method
  • #87: the equals() method now accepts anything as a parameter
  • #86: compatibility with php-ds/ext-ds

1.6.6

04 Feb 21:20
32c4202
Compare
Choose a tag to compare

#84 Require ext-json explicitly in composer.json to avoid bugs when the JSON extension is not installed

1.6.5

04 Feb 18:12
5b9c57d
Compare
Choose a tag to compare

#83: It is now possible to create a new Enum instance from another Enum instance

1.6.4

30 Oct 14:37
550d233
Compare
Choose a tag to compare

#80 Fix validating key with null value
#82 Fix coding style and setup https://prettyci.com

1.6.3

27 Oct 21:16
a8284c7
Compare
Choose a tag to compare

Fix #77 #78: better support for null values in enums.

1.6.2

01 Aug 21:11
ca2f409
Compare
Choose a tag to compare

#75 Performance optimizations

1.6.1

09 May 08:09
8c5649e
Compare
Choose a tag to compare

#71 Allow null in the equals() method

1.6.0

07 May 06:51
ca4a819
Compare
Choose a tag to compare
  • Drop support for PHP 5.3 (only 5.4+ is supported)
  • Implement JsonSerializable interface to allow serializing the class to JSON