Commit Graph

64 Commits

Author SHA1 Message Date
Younes ENNAJI 08b96bdd39 chore: enhance type safety with detailed PHPDoc annotations and stricter PHPStan validations 2024-10-13 21:39:22 +01:00
Younes ENNAJI 43affdc543 chore: add Symfony Profiler integration for PHPFlasher 2024-10-05 15:34:57 +01:00
Younes ENNAJI 58ca234a37 chore: upgrade dependencies 2024-09-21 18:33:59 +01:00
Younes ENNAJI d59e37812d chore: run php-cs-fixer 2024-09-19 06:42:10 +01:00
Younes ENNAJI b28525d718 chore: add and run phpstan phpunit 2024-05-27 00:34:47 +01:00
Younes ENNAJI 6de67f7fb3 chore: Refactor middleware to use Symfony's base response class
This commit updates the FlasherMiddleware and SessionMiddleware to utilize Symfony's base response class instead of Laravel's. This change ensures broader compatibility and addresses the issue with flash message rendering after page refreshes as identified by the community. Preparing for release in v2.0.2.
2024-05-26 13:20:48 +01:00
Younes ENNAJI f61a7d83ce test: add tests for FlasherMiddleware and SessionMiddleware registration 2024-05-24 13:33:25 +01:00
Younes ENNAJI 39f1f3885e chore: fix phpstan bleeding edge errors 2024-05-13 10:24:42 +01:00
Younes ENNAJI d2f019fb62 chore: update the doc and improve phpstan annotations 2024-05-05 19:44:39 +01:00
Younes ENNAJI 7f19ab0570 chore: follow symfony best practices for bundle names 2024-04-09 14:20:55 +00:00
Younes ENNAJI 1f4ea40a39 chore: v2 full rewrite 2024-04-09 07:57:01 +00:00
Younes ENNAJI 117b4815c7 chore: use php v5.3 syntax 2023-12-16 18:11:36 +01:00
Younes ENNAJI c2a013d1e9 chore: fix unit tests 2023-12-16 18:07:27 +01:00
Younes ENNAJI 39201b888f chore: bump flasher assets to v1.3.2 2023-12-16 17:58:59 +01:00
Khoubza Younes eb0244ae37 fix: loading flasher styles correctly 2023-06-06 11:26:33 +01:00
Khoubza Younes 4d62fa3548 feat: set flasher scripts and styles on top level config 2023-06-06 01:36:57 +01:00
Khoubza Younes 8ca1c6fd8e test: add criteria builder tests 2023-02-05 18:52:19 +01:00
Khoubza Younes 590d39b37f test: fix response envelopes order 2023-02-05 17:41:22 +01:00
Khoubza Younes 781e045155 test: add resource manager tests 2023-02-05 17:22:42 +01:00
Khoubza Younes 2faedb15c9 test: add response manager tests 2023-02-05 17:22:24 +01:00
Khoubza Younes e084ac1102 test: add response class tests 2023-02-05 17:22:00 +01:00
Khoubza Younes fab8a9ecb6 test: test html renderer it retruen only envelopes as json object 2023-02-05 12:41:59 +01:00
Khoubza Younes ffb839e8e1 test: add html presenter tests 2023-02-01 23:51:31 +01:00
Khoubza Younes 10d647199b test: add array presenter tests 2023-02-01 23:51:31 +01:00
Khoubza Younes 0579964afc style: update notification factory base phpunit class 2023-02-01 23:03:47 +01:00
Khoubza Younes 9f426f0b8c test: add storage manager tests 2023-02-01 23:03:12 +01:00
Khoubza Younes ccbeb568c4 test: add Language helper tests 2023-02-01 23:03:00 +01:00
Khoubza Younes afd5fc33e4 test: add echo translator tests 2023-02-01 23:02:43 +01:00
Khoubza Younes a7420e15aa test: add storage bag tests 2023-02-01 00:20:22 +01:00
Khoubza Younes 9b8e3ffa01 test: add StaticBag tests 2023-02-01 00:20:22 +01:00
Khoubza Younes 6c2baa8d01 test: add ArrayBag tests 2023-02-01 00:20:22 +01:00
Khoubza Younes 17112a0bd0 test: add more envelope tests 2023-01-31 23:07:21 +01:00
Khoubza Younes 238eb063a4 test: add testDynamicCallToNotificationBuilder test 2023-01-31 22:46:21 +01:00
Khoubza Younes 7097a59cad test: add TranslationListener tests 2023-01-31 22:41:39 +01:00
Khoubza Younes 426bc17001 test: add StampsListener tests 2023-01-31 22:21:20 +01:00
Khoubza Younes 1007c8536c test: add RemoveListener tests 2023-01-31 22:16:47 +01:00
Khoubza Younes 5f51aef458 test: add PresetListener tests 2023-01-31 22:16:33 +01:00
Khoubza Younes 4fcf78fbda test: add AddToStorageListener tests 2023-01-31 22:16:14 +01:00
Khoubza Younes 5bb9ac2fc7 test: add events tests 2023-01-31 01:48:30 +01:00
Khoubza Younes 02733b0d92 test: add stamps tests 2023-01-31 01:02:50 +01:00
Khoubza Younes 6b2066854f test: add notification tests 2023-01-31 00:24:10 +01:00
Khoubza Younes d13e299022 test: add more envelope tests 2023-01-30 23:52:40 +01:00
Khoubza Younes a83aec01fe test: add notification builder tests 2023-01-30 01:29:35 +01:00
Khoubza Younes 48177d6a9c test: rename getMock() to mock() 2023-01-23 00:20:15 +01:00
Khoubza Younes 366787eb80 test: add FlasherContainer tests 2023-01-22 21:49:31 +01:00
Khoubza Younes d9ddb381ed test: add FlasherPlugin tests 2023-01-22 21:48:20 +01:00
Khoubza Younes af79946599 test: update config tests 2023-01-22 21:43:42 +01:00
Khoubza Younes a5292eae45 chore: add setProperty, getProperty, invokeMethod and getMock helper methods 2023-01-22 21:42:29 +01:00
Khoubza Younes 469e826007 feat: symplify symfony tests
wip

wip
2023-01-17 03:48:41 +01:00
Khoubza Younes 89d656a5dc fix: update php-cs-fixer rules 2022-12-07 23:10:03 +01:00