Younes ENNAJI
87da42fdea
Refine code style and tests
2026-03-01 20:16:44 +00:00
Younes ENNAJI
fd36c2ec0c
fix: validate alias attribute in PresenterCompilerPass
...
Add validation to ensure services tagged with 'flasher.presenter' have
the required 'alias' attribute. Previously, accessing $attributes['alias']
without checking would throw an "Undefined array key" error.
Now throws a clear InvalidArgumentException with a helpful message.
2026-03-01 20:01:12 +00:00
Younes ENNAJI
83dc9e49dc
fix: handle null public directory gracefully in InstallCommand
...
The getPublicDir() method can return null, but the code was directly
concatenating it with a string, which could cause unexpected behavior.
Now the command properly checks for null and returns a failure with
a clear error message instead of proceeding with an invalid path.
2026-03-01 19:57:50 +00:00
Younes ENNAJI
d9b0b6998e
add tests for FlasherDataCollector
2026-02-26 06:04:11 +00:00
Younes ENNAJI
c9a61ba69c
add tests for helper functions
2026-02-25 20:29:51 +00:00
Younes ENNAJI
cd53ceb139
improve test coverage for edge cases
2026-02-25 19:31:21 +00:00
Younes ENNAJI
549c36eeee
improve test coverage for PHPUnit and Vitest
2026-02-25 19:16:53 +00:00
Younes ENNAJI
93ca18a67b
add themes to symfony configuration
2025-03-27 21:23:53 +00:00
Younes ENNAJI
43affdc543
chore: add Symfony Profiler integration for PHPFlasher
2024-10-05 15:34:57 +01:00
Younes ENNAJI
b28525d718
chore: add and run phpstan phpunit
2024-05-27 00:34:47 +01:00
Younes ENNAJI
39f1f3885e
chore: fix phpstan bleeding edge errors
2024-05-13 10:24:42 +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
Khoubza Younes
a7420e15aa
test: add storage bag tests
2023-02-01 00:20:22 +01:00
Khoubza Younes
a83aec01fe
test: add notification builder tests
2023-01-30 01:29:35 +01:00
Khoubza Younes
469e826007
feat: symplify symfony tests
...
wip
wip
2023-01-17 03:48:41 +01:00
KHOUBZA Younes
29c32a6e7f
update unit tests
2022-07-03 12:10:11 +01:00
KHOUBZA Younes
ac0a0953fd
add transtion tests
2022-05-27 15:49:32 +01:00
KHOUBZA Younes
ac6d046c63
Prepare v1.0 release
...
rename template adapter to flasher, and add title to base notification class
Wip
2022-05-16 08:18:15 +01:00
Khoubza Younes
c30a9824af
Upgrade flasher js to v0.7.1 to fix executing js callback function from string
2022-03-09 08:43:55 +01:00
Khoubza Younes
e37cb9bb1f
add persistent template notifications -> bump flasher-js to v0.6.1
2021-10-27 20:21:05 +01:00
Khoubza Younes
e07dee31bb
allow users to override template factory options and styles
2021-10-23 17:08:27 +01:00
Khoubza Younes
c8d65284d1
bump flasher js to v0.4.0
2021-10-23 10:52:51 +01:00
Khoubza Younes
e80126fa4f
upgrade flasher js to v0.3.0
2021-10-22 22:22:47 +01:00
Khoubza Younes
6a00897ce6
add title to template adapter
...
fix tests
Trigger CI
2021-10-22 21:26:13 +01:00
Khoubza Younes
d3c7b6689c
Wip
2021-10-03 23:12:52 +01:00
Khoubza Younes
3d31936102
Wip
2021-10-03 23:12:02 +01:00
Khoubza Younes
07d0700740
fix tests
2021-10-03 22:57:51 +01:00
Khoubza Younes
103b0fdfea
move tests to tests files
2021-10-03 21:39:04 +01:00