Younes ENNAJI
d7234c64a2
Simplify verbose PHPDoc class descriptions across 76 files
...
Remove descriptive class/interface-level documentation that duplicates
what the class/interface names already convey, while keeping all
type annotations (@param, @return, @var, @throws, @phpstan-, @mixin,
@template, @internal).
Files modified:
- Symfony integration (18 files): Attribute, Translation, Template,
Component, Storage, Support, Http, Profiler, Command, Twig,
EventListener, FlasherSymfonyBundle
- Laravel integration (13 files): ServiceProvider, Storage, Middleware,
Http, Facade, Template, Translation, Command, Component, EventListener
- Prime/EventDispatcher (17 files): Events and EventListeners
- Prime/Storage (11 files): Filter/Criteria and Bag interfaces
- Prime/Stamp (4 files): Interface and stamp classes
- Prime/Factory (5 files): Factory interfaces and implementations
- Prime/Notification (2 files): Envelope and Notification
- Prime/Support/Traits (1 file): ForwardsCalls
2026-01-16 01:46:44 +01:00
Younes ENNAJI
194eab473e
Simplify verbose documentation in translation language files
...
Remove verbose class-level and method-level documentation from:
- 8 translation language files (Arabic, Chinese, English, French, German, Portuguese, Russian, Spanish)
- FilterFactory class
Kept only essential type annotations (@return, @param, @throws, @var).
Also regenerated CSS build artifacts after previous SCSS changes.
2026-01-16 01:31:15 +01:00
Younes ENNAJI
521746f813
Simplify remaining comments in global.d.ts and SCSS theme files
...
- Remove file headers and verbose documentation from 2 global.d.ts files
- Simplify 12 SCSS theme files by removing multi-line documentation blocks
- Remove verbose inline comments that just repeat what the code does
- Keep helpful inline comments for non-obvious code
Files modified:
- src/Prime/Resources/assets/global.d.ts
- src/Toastr/Prime/Resources/assets/global.d.ts
- src/Prime/Resources/assets/themes/aurora/aurora.scss
- src/Prime/Resources/assets/themes/facebook/facebook.scss
- src/Prime/Resources/assets/themes/google/google.scss
- src/Prime/Resources/assets/themes/ios/ios.scss
- src/Prime/Resources/assets/themes/jade/jade.scss
- src/Prime/Resources/assets/themes/material/material.scss
- src/Prime/Resources/assets/themes/minimal/minimal.scss
- src/Prime/Resources/assets/themes/neon/neon.scss
- src/Prime/Resources/assets/themes/onyx/onyx.scss
- src/Prime/Resources/assets/themes/ruby/ruby.scss
- src/Prime/Resources/assets/themes/sapphire/sapphire.scss
- src/Prime/Resources/assets/themes/slack/slack.scss
2026-01-16 01:28:29 +01:00
Younes ENNAJI
34d780b0b7
Fix SCSS syntax errors and TypeScript build error
...
- Fix 15 theme SCSS files with orphaned comment closing markers
- Add type assertion to notyf.ts for private property access
- Regenerate build artifacts after fixes
The SCSS files had broken syntax from previous comment removal where
orphaned '*/' markers were left behind, causing SCSS parsing errors.
2026-01-16 00:52:20 +01:00
Younes ENNAJI
61f991f379
Simplify JSDoc and SCSS comments in theme files and entry points
...
Remove verbose JSDoc and SCSS comments from:
- Theme TypeScript files (17 amazon, amber, aurora, crystal, emerald, facebook, flasher, google, ios, jade, material, minimal, neon, onyx, ruby, sapphire, slack)
- Theme SCSS files (21 theme stylesheets including icons, progress, wrapper, and all theme variants)
- Theme index.ts registration files (17 files)
- Entry point and export files (index.ts, exports.ts)
- Adapter index.ts files (Noty, Notyf, SweetAlert, Toastr)
- Remaining plugin files (toastr.ts, notyf.ts)
Kept type annotations and removed only descriptive comments, examples,
and file headers following Symfony's concise documentation style.
2026-01-16 00:40:14 +01:00
Younes ENNAJI
cc9fa57c4a
Simplify JSDoc comments in plugin TypeScript files
...
Removes verbose documentation from:
- plugin.ts (AbstractPlugin base class)
- noty.ts (Noty plugin implementation)
- sweetalert.ts (SweetAlert plugin implementation)
Keeps essential type annotations.
2026-01-16 00:28:35 +01:00
Younes ENNAJI
613c73d7b6
Simplify JSDoc and comments in TypeScript and SCSS files
...
Removes verbose documentation and examples from:
- flasher.ts (main orchestration class)
- flasher-plugin.ts (default plugin implementation)
- types.ts (type definitions)
- flasher.scss (default theme styles)
- mixins.scss (reusable SASS mixins)
Keeps essential type annotations and parameter documentation.
2026-01-16 00:27:42 +01:00
Younes ENNAJI
9239063159
Simplify PHPDoc comments in Stamp classes and PhpStorm meta files
...
Removes verbose documentation and comments from:
- Stamp classes (PriorityStamp, HopsStamp, DelayStamp, etc.)
- .phpstorm.meta.php files (Prime, Noty, Notyf, SweetAlert, Toastr)
- Factory and EventDispatcher classes
2026-01-16 00:23:16 +01:00
Younes ENNAJI
2e61a0539f
Simplify PHPDoc comments in core Prime classes
...
Removes verbose documentation while preserving type annotations
for array parameters and PHPStan type definitions.
2026-01-16 00:20:39 +01:00
Younes ENNAJI
548044bd7f
Simplify PHPDoc comments in Notification builder classes
...
Removes verbose documentation while preserving type annotations
for array parameters.
2026-01-16 00:17:52 +01:00
Younes ENNAJI
3f920f2c01
Simplify PHPDoc comments in Plugin, HTTP, Stamp, and Test constraint classes
...
Removes verbose documentation while preserving type annotations.
2026-01-16 00:07:42 +01:00
Younes ENNAJI
65e9125539
Simplify PHPDoc comments in helper functions and translation files
...
This commit simplifies PHPDoc comments in helper functions and Laravel
translation files by removing verbose documentation and keeping only
essential type annotations.
Changes include:
- Removed "Design pattern" mentions and example usage blocks
- Kept all @param and @phpstan-return type annotations
- Added missing @return annotations for PHPStan
Files modified:
- src/Prime/functions.php - Namespaced helper function
- src/Prime/helpers.php - Global helper function
- src/Laravel/Translation/lang/*/messages.php - 8 translation files (ar, de, en, es, fr, pt, ru, zh)
- src/Prime/Http/RequestInterface.php - Added @return annotation
- src/Prime/Http/ResponseInterface.php - Added @param annotation
- src/Prime/Notification/NotificationBuilderInterface.php - Added @param annotation
All changes pass PHPStan analysis and tests.
2026-01-15 23:48:33 +01:00
Younes ENNAJI
a0873c0082
Simplify PHPDoc comments in Prime interfaces and traits
...
This commit simplifies PHPDoc comments across 26 files in the src/Prime/
directory by removing verbose documentation and keeping only essential type
annotations.
Changes include:
- Removed "Design pattern" mentions and redundant explanations
- Kept all @param and @return type annotations for PHPStan
- Maintained @phpstan-* annotations for type safety
Files modified:
- Exception classes (4 files)
- Http interfaces (5 files)
- Notification builders and interfaces (3 files)
- Plugin, Response, Storage, Template, Translation, and Test interfaces (14 files)
All changes pass PHPStan analysis and tests.
2026-01-15 23:40:19 +01:00
Younes ENNAJI
1c5b533126
Refactors Toastr implementation as a plugin
2026-01-15 23:26:32 +01:00
Younes ENNAJI
f78824b8d9
Downgrades dependencies for broader compatibility
2026-01-15 23:15:58 +01:00
Younes ENNAJI
e212c0157e
Simplify PHPDoc comments in SweetAlert integration
...
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 23:12:29 +01:00
Younes ENNAJI
fcf5c63f58
Improves documentation with parameter types
2026-01-15 22:56:11 +01:00
Younes ENNAJI
ea164fde17
Simplify PHPDoc comments in Notyf integration
...
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:51:25 +01:00
Younes ENNAJI
611fda9c61
Simplify PHPDoc comments in Noty integration
...
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:35:01 +01:00
Younes ENNAJI
21348f384d
Simplify PHPDoc comments in Laravel and Symfony integrations
...
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:22:20 +01:00
Younes ENNAJI
8f594698c7
Simplify PHPDoc comments in Prime classes
...
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 21:21:11 +01:00
Younes ENNAJI
d65300a0e9
Fix PHPStan errors and test failures, improve PHPDoc documentation ordering
2026-01-10 04:36:16 +01:00
Younes ENNAJI
a002590d56
Fix incorrect examples in src/Prime/README.md
...
- Replace non-existent static Flasher:: calls with flash() helper function
2026-01-10 04:21:03 +01:00
Younes ENNAJI
5a4d46b46b
Fix incorrect code examples in Prime adapter READMEs
...
- Replace non-existent static method calls with correct helper functions
- Update examples to use sweetalert(), notyf(), noty(), toastr() helpers
- Pass options as arrays instead of invalid fluent chaining
2026-01-10 04:19:17 +01:00
Younes ENNAJI
0232edc9bd
Adds documentation files and improves package READMEs
2026-01-10 03:54:56 +01:00
Younes ENNAJI
1c5fbbba9a
Refactors and improves documentation clarity
2026-01-10 02:16:28 +01:00
Younes ENNAJI
15da40c582
Updates flasher dependencies to version 2.4.0
2025-12-31 11:43:34 +01:00
Younes ENNAJI
8c77e96eb6
Upgrade yoeunes/regex-parser to v1.0
2025-12-31 11:38:59 +01:00
Younes ENNAJI
91ab4fa0f4
Updates Flasher dependencies to version 2.3.0
...
Updates all flasher dependencies in composer.json files and the main Flasher version constant to the new version 2.3.0.
This ensures that all packages are using the latest compatible version of Flasher.
2025-12-09 11:23:28 +01:00
Younes ENNAJI
2417333107
Adds regex-parser library
...
Adds the `yoeunes/regex-parser` library as a dependency.
This library will be used for advanced regular expression
validation and analysis within the application.
Also updates the .gitignore to ignore vendor directories
within the `src` directory, and adds `composer.lock` to it.
2025-12-09 11:20:01 +01:00
Younes ENNAJI
358ad11c4d
Updates flasher dependencies to v2.2.2
...
Bumps all flasher dependencies to the latest version 2.2.2.
This ensures all packages are aligned with the latest features and bug fixes.
2025-12-08 12:53:33 +01:00
Younes ENNAJI
dd3c9f74f0
add support for Symfony v8.0
...
Bumps the php-flasher dependencies in composer.json and package.json files
to version 2.2.1 across all relevant packages.
This ensures the project utilizes the latest features,
bug fixes, and improvements available in the php-flasher library.
2025-11-10 15:43:32 +01:00
Younes ENNAJI
09199d8b56
Makes notification library default optional
...
Makes the 'default' option for the notification library optional.
This allows the system to function without a default library being explicitly set, providing more flexibility in configurations.
2025-11-10 15:41:13 +01:00
Younes ENNAJI
c454fbc768
Updates flasher library dependencies.
...
Updates composer.lock and package-lock.json files to include latest versions of dependencies.
This change ensures compatibility with the latest features and security patches.
It also synchronizes front-end and back-end dependencies.
2025-11-10 15:32:54 +01:00
Younes ENNAJI
e0b93784bd
Allows Symfony 8 compatibility
...
Updates Symfony dependencies to allow compatibility
with version 8.
This ensures the application can be upgraded to
the latest Symfony version without breaking changes.
2025-11-10 15:32:24 +01:00
Younes ENNAJI
18663b3214
Updates Flasher to v2.2.0
...
Updates the flasher dependencies in composer.json files and package.json files to version 2.2.0.
Updates the Flasher version constant in the Prime Flasher class.
2025-11-10 15:20:21 +01:00
Younes ENNAJI
2cef5b98b2
fix phpstan errors
2025-03-30 02:27:41 +00:00
Younes ENNAJI
d7ecfb69a9
revert laravel install command
2025-03-30 02:24:57 +00:00
Younes ENNAJI
424617103f
Wip
2025-03-28 03:37:07 +00:00
Younes ENNAJI
8dd56001db
Wip
2025-03-28 03:30:26 +00:00
Younes ENNAJI
e1ae7e215c
update laravel intaller command
2025-03-28 03:11:45 +00:00
Younes ENNAJI
730c13c447
update laravel theme configuration
2025-03-28 02:16:33 +00:00
Younes ENNAJI
93ca18a67b
add themes to symfony configuration
2025-03-27 21:23:53 +00:00
Younes ENNAJI
56dd1cea4c
update themes border radius
2025-03-27 02:12:06 +00:00
Younes ENNAJI
7a083efea0
fix flash notifications width
2025-03-26 23:04:01 +00:00
Younes ENNAJI
8e6f0e8c88
fix flasher rtl support
2025-03-23 14:54:56 +00:00
Younes ENNAJI
6d162c7f95
Wip
2025-03-23 14:16:10 +00:00
Younes ENNAJI
53d7795292
fix flasher options
2025-03-23 13:31:29 +00:00
Younes ENNAJI
ea47e9043b
update the themes in the docs
2025-03-11 05:07:01 +00:00
Younes ENNAJI
a7491972e2
Wip
2025-03-10 02:58:26 +00:00