Jérémy Munsch
|
1c342113b6
|
update changelog
|
2021-09-20 22:37:21 +02:00 |
|
Jérémy Munsch
|
1e2e9bdecf
|
Reintroduce getRouteKey to handle router with model + tests
|
2021-09-20 22:37:12 +02:00 |
|
|
|
4dfe0eb17c
|
fix uncorrect licence
|
2021-09-13 00:31:33 +02:00 |
|
|
|
5b9806fd79
|
Add Examples
Update Changelog
Update Readme
|
2021-09-12 20:31:52 +02:00 |
|
|
|
163eeabcd1
|
Add make:enum console command
|
2021-09-12 19:21:54 +02:00 |
|
|
|
03bac5ba89
|
Hanle Enum not routable exception, instead of just resolvinf enum with null variables
|
2021-09-12 02:23:40 +02:00 |
|
|
|
fdfb6af639
|
Full unit test with 100% coverage
|
2021-09-12 02:23:40 +02:00 |
|
|
|
a7617753b1
|
Fix BaseEnumRule to really check if enum passed to constructor extends BaseEnum
|
2021-09-12 02:23:40 +02:00 |
|
|
|
19108c833e
|
add some comments on exceptions
|
2021-09-12 02:23:40 +02:00 |
|
|
|
9c91bb3659
|
Change package translations to use php files
|
2021-09-12 02:23:40 +02:00 |
|
|
|
c54d3602f3
|
downgrade orchestra test bench to 5.x (laravel 7)
add php7.3 requirement
|
2021-09-12 02:23:40 +02:00 |
|
|
|
0bb9a6f9b8
|
BaseEnum: remove unused herited closure case
|
2021-09-12 02:23:40 +02:00 |
|
|
|
7bbbe28e27
|
BaseEnum : correction on code comments
|
2021-09-12 02:23:40 +02:00 |
|
|
|
e687db37e7
|
CastsEnums : refactorize code
correction on code coments
|
2021-09-12 02:23:40 +02:00 |
|
|
|
1a5be20be2
|
CastsEnums : remove breaking attributes
|
2021-09-12 02:23:40 +02:00 |
|
|
|
5e3f825dca
|
EnumIsValidRule : fix int casting
|
2021-09-12 02:23:40 +02:00 |
|
|
|
b3f54a65c5
|
BaseEnumRoutable : case to int only if is really an integer
|
2021-09-12 02:23:40 +02:00 |
|
|
|
4cc27e6769
|
BaseEnumRoutable : remove unused getEnumName
add NotImplementedException for all unsued methods
|
2021-09-12 02:23:40 +02:00 |
|
|
|
3e654f5d3c
|
BaseEnum : Remove unused __call
|
2021-09-12 02:23:39 +02:00 |
|
|
|
bb09844610
|
fix cast enum phpdoc
|
2021-09-12 02:23:39 +02:00 |
|
|
|
5793cf591f
|
Type hint __get for label and value on Base Enum
|
2021-09-12 02:23:39 +02:00 |
|
|
|
2fb55ed30d
|
update phpunit config
|
2021-09-12 02:23:39 +02:00 |
|
|
|
d8402c3397
|
Fixes from code analyzer
|
2021-09-12 02:23:39 +02:00 |
|
|
|
402609ad07
|
Add code coverage and update readme badges
|
2021-09-12 02:23:39 +02:00 |
|
|
|
c80000e2fd
|
remove StyleCI
|
2021-09-12 02:23:39 +02:00 |
|
|
|
8348fc06c5
|
Update php.yml
test CI
|
2021-09-12 02:23:39 +02:00 |
|
|
|
a9f6e0722a
|
composer.lock fix
|
2021-09-12 02:23:39 +02:00 |
|
|
|
7b2f8ab01a
|
vscode settings for phpcs
|
2021-09-12 02:23:39 +02:00 |
|
|
|
4382d1c6fe
|
Refactor code and cleanup
|
2021-09-12 02:23:39 +02:00 |
|
|
|
416c941c8d
|
Fix unit test extend classes
|
2021-09-12 02:23:39 +02:00 |
|
|
|
d9e7d57a24
|
remove version from composer.json
|
2021-09-12 02:23:39 +02:00 |
|
|
|
4a33926706
|
Create php.yml
Add continuous integration
|
2021-09-12 02:23:39 +02:00 |
|
|
|
6f25da234c
|
add phpunit specific to gitignore
|
2021-09-12 02:23:38 +02:00 |
|
|
|
ff11dcd3d1
|
add composer script test
|
2021-09-12 02:23:38 +02:00 |
|
|
|
a6821a62fa
|
Fix unit tests
|
2021-09-12 02:23:38 +02:00 |
|
|
|
5c34cc5228
|
composer upgrade and phpcs enhancement
|
2021-09-12 02:23:38 +02:00 |
|
Jérémy Munsch
|
036cc602c0
|
Base Enum routable bump to version 2.0.0
|
2021-08-13 12:11:43 +02:00 |
|
Jérémy Munsch
|
1d4439d82b
|
Remove laravel dependencies
|
2021-08-13 10:35:22 +02:00 |
|
Jérémy Munsch
|
f9e2b960d8
|
Get route key
|
2021-04-06 16:35:59 +02:00 |
|
|
|
ead46dc7b2
|
Update license.md
|
2021-03-23 02:37:26 +01:00 |
|
Jérémy Munsch
|
7280504931
|
Validation rule EnumIsValidRule
|
2021-03-17 00:52:03 +01:00 |
|
Jérémy Munsch
|
df8022c495
|
Change ToJson on Base Enum
|
2021-03-04 17:25:04 +01:00 |
|
Jérémy Munsch
|
a79173ec38
|
fixed performances issue on toValues and toLabels
|
2021-03-03 09:42:24 +01:00 |
|
Jérémy Munsch
|
45a1ccd27f
|
Breaking change
BaseEnum to Array indexes where cast to integers
This would break enum values that where numeric strings
ToArray now returns a list of BaseEnums
|
2021-03-02 21:24:04 +01:00 |
|
Jérémy Munsch
|
43e8dff61c
|
Fix wrong namespace usage in castsEnums.php
|
2021-03-01 14:28:40 +01:00 |
|
Jérémy Munsch
|
4ae3642259
|
Add trait Cast Enum
|
2021-03-01 12:15:43 +01:00 |
|
Jérémy Munsch
|
f6d042b16c
|
Initial commit
|
2021-03-01 07:55:10 +01:00 |
|