Evidence collection
0.2.1-evidences-15.json 250badf2
Collected 5 years ago
Release notes
- fixed type for PHPStan 0.12
Release notes
Released 0.2.0
Feedback is welcome, open issue or contact me directly.
- support for
switch
, loose comparison,in_array
, etc... (go to code) - it warns you about not intended usage (e.g. your enum must be
final
xorabstract
), or that you have forgotten to call value constructor (go to code) - support for getting all possible values for enum (go to code)
- started to distinguish between checked (runtime) and unchecked (usage) exceptions (go to code)
-
📚 docs: added migrating legacy code example, adding behaviour to enum example, order state example and loylty program example (go to docs) - less internal magic used to make things work
- support for non-anonymous classes as values (go to code)
Breaking changes
-
provideInstances()
: scalar values are provided to first constructor parameter of each value; when usingAutoInstances
, you are not affected (go to code) - renamed
getScalarValue()
totoScalar()
(go to code)
Release notes
Released 0.2.0-beta1
Feedback is welcome, non of changes bellow are final and can be changed before stable release.
- support for
switch
, loose comparison,in_array
, etc... (go to code) - it warns you about not intended usage (e.g. your enum must be
final
xorabstract
), or that you have forgotten to call value constructor (go to code) - support for getting all possible values for enum (go to code)
- started to distinguish between checked (runtime) and unchecked (usage) exceptions (go to code)
-
📚 docs: added migrating legacy code example, adding behaviour to enum example, order state example and loylty program example (go to docs) - less internal magic used to make things work
- support for non-anonymous classes as values (go to code)
Breaking changes
-
provideInstances()
: scalar values are provided to first constructor parameter of each value; when usingAutoInstances
, you are not affected (go to code) - renamed
getScalarValue()
totoScalar()
(go to code)
Release notes
- support for
getAvailableValues()
- better exceptions on missing constant declarations and missing instances
Release notes
- fixed nasty bug in when using anonymous classes as values
Release notes
INITIAL proof-of-concept RELEASE