Skip to content

Releases: spatie/enum

3.6.4

13 Jan 11:48
Compare
Choose a tag to compare
  • Add psalm annotations to seal and lock internals - #85

3.6.3

12 Jan 14:20
Compare
Choose a tag to compare
  • Fix extra whitespaces in enum definition doc-blocks - #86

3.6.2

17 Dec 12:42
Compare
Choose a tag to compare
  • Fix issue with enums not callable within enum classes - #82

3.6.1

17 Dec 04:59
Compare
Choose a tag to compare
v3.6.0

3.6.0

26 Nov 10:28
Compare
Choose a tag to compare
  • Add assertIsEnumValue() and assertIsEnumLabel() to \Spatie\Enum\Phpunit\EnumAssertions - #80

3.5.1

19 Nov 12:38
Compare
Choose a tag to compare
  • fix \Spatie\Enum\Enum php-doc @property-read annotations - #78

3.5.0

22 Oct 10:08
Compare
Choose a tag to compare
  • add Faker provider to generate random enum instances, values and labels \Spatie\Enum\Faker\FakerEnumProvider - #74

3.4.0

22 Oct 08:58
Compare
Choose a tag to compare
  • Add \Spatie\Enum\Enum::toValues() and \Spatie\Enum\Enum::toLabels() methods - #72

3.3.0

21 Oct 09:29
Compare
Choose a tag to compare
  • Add \Spatie\Enum\Phpunit\EnumAssertions with a default set of assertions - #71

3.2.0

08 Oct 11:43
Compare
Choose a tag to compare
  • Support PHP ^8.0