Skip to content

Tags: yokai-php/enum-bundle

Tags

v5.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Change EnumExtension base class that is now final (#63)

v5.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove PHP/Symfony versions matrix hacks (#62)

v4.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Convert enum objects into scalar values during form submission (#57)

* Convert enum objects into scalar values during form submission

* Only trigger deprecation about "enum_choice_value" option when values are objects

* Add doc about "enum_choice_value" option

* Add doc for PHP native enum support

---------

Co-authored-by: Yann Eugoné <[email protected]>

v4.0.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Initialize enum array in EnumRegistry to avoid TypeError when empty (#54

)

v4.0.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix Choice annotation/attribute constructor args changing with Symfon…

…y versions (#53)

v4.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow Symfony 6.0 & Updated tests according to changes (#51)

v4.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow Enum constraint to be used as PHP 8.0 Attribute (#50)

* Allow Enum constraint to be used as PHP 8.0 Attribute

* Review testing matrix for wider versions range : PHP 7.1 & Symfony 5.3

* Separate testing model for annotations & attributes testing

* Replace annotations with attributes in doc

v3.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Introduce EnumInterface::getLabel (#39)

* Introduce EnumInterface::getLabel to not rely on getChoices from the outside

* Store translated enum choices in a private property to avoid calling translation more than once per enum

* Normalize assert method usage to static calls

* Fixed doc use statements

* #37 $choices assignment refacto + comment getLabel in EnumInterface for next major (#40)

Co-authored-by: Mathieu Ducrot <[email protected]>

v3.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow PHP 8.0 (#38)

* Allow PHP 8.0

* Updated PHPUnit config

* Check PHP 8.0

* Remove PHP 7.1 from testing matrix

v3.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for Symfony 5.1 Compound constraint in form type guess (#36)