Commit graph

64 commits

Author SHA1 Message Date
Jérémy Munsch
583984b157
fix workflow
Some checks are pending
PHP Composer / build (push) Waiting to run
2023-06-02 12:54:18 +02:00
Jérémy Munsch
8bd0bb17e4
update build status 2023-06-02 12:53:10 +02:00
Jérémy Munsch
385552f454
remove scrore cards 2023-06-02 12:44:49 +02:00
Jérémy Munsch
b671dd3e1c
revert and fix phpunit 2023-06-02 12:38:08 +02:00
Jérémy Munsch
beb64c6470
composer .lock ignore 2023-06-02 12:37:50 +02:00
Jérémy Munsch
0277f4d0bc
test for score cards 2023-06-02 12:19:55 +02:00
Jérémy Munsch
3687d37c2f
fix score cards php version 2023-06-02 12:17:10 +02:00
Jérémy Munsch
ff3f6336db
remove composer lock 2023-06-02 12:15:42 +02:00
Jérémy Munsch
7b2f3530e9
fix scorecards 2023-06-02 12:14:30 +02:00
Jérémy Munsch
606c380e97
Bumped for php 8.2 + fix unit test and phpcs 2023-06-02 12:12:37 +02:00
Jérémy Munsch
8b25893b99
phpcs fix 2023-05-30 09:40:09 +02:00
Jérémy Munsch
71f45fa5ed
Create scorecards.yml 2022-11-06 18:53:36 +01:00
Jérémy Munsch
cb2ec1bd82
Delete composer.lock 2022-11-06 15:10:43 +01:00
Jérémy Munsch
57a94ab316
Update php.yml
Test
2022-11-06 15:07:40 +01:00
Jérémy Munsch
cc695e6a07
Fixed #2 + allow usage on php8 for cross compatibility 2022-07-28 17:18:54 +02:00
Jérémy Munsch
bbd0872389
update change log 2021-11-18 17:52:08 +01:00
Jérémy Munsch
34965dee37
Fix #1
- Strict check for enum duplicates
- Added check for empty enum definition
- Added check for duplicated enum definition
2021-11-18 17:51:58 +01:00
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