From 9809e4d8600e0fcf6dc8bf183b36c29165993695 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sat, 24 Jan 2026 15:50:07 -0300 Subject: [PATCH 1/2] fix(docs): Clean up event documentation in `FoxyEvents` class. --- CHANGELOG.md | 1 + src/FoxyEvents.php | 16 +++++----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70ca35a..d826e4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - Bug #117: Raise PHPStan level to `5` (@terabytesoftw) - Bug #118: Add `phpdoc_param_order` rule and update namespace references in `rector.php` (@terabytesoftw) - Enh #119: Add `php-forge/coding-standard` to development dependencies for code quality checks (@terabytesoftw) +- Bug #120: Clean up event documentation in `FoxyEvents` class (@terabytesoftw) ## 0.1.2 June 10, 2024 diff --git a/src/FoxyEvents.php b/src/FoxyEvents.php index fbc172d..85215ff 100644 --- a/src/FoxyEvents.php +++ b/src/FoxyEvents.php @@ -7,25 +7,19 @@ abstract class FoxyEvents { /** - * The "GET_ASSETS" event is triggered before the `solve` action of asset packages - * and during the retrieves the map of the asset packages. - * - * @Event("Foxy\Event\GetAssetsEvent") + * The `GET_ASSETS` event is triggered before the `solve` action of asset packages and during the retrieves the map + * of the asset packages. */ final public const GET_ASSETS = 'foxy.get-assets'; /** - * The "POST_SOLVE" event is triggered after the `solve` action of asset packages and before - * the execution of the composer's fallback. - * - * @Event("Foxy\Event\PostSolveEvent") + * The `POST_SOLVE` event is triggered after the `solve` action of asset packages and before the execution of the + * composer's fallback. */ final public const POST_SOLVE = 'foxy.post-solve'; /** - * The "PRE_SOLVE" event is triggered before the `solve` action of asset packages. - * - * @Event("Foxy\Event\PreSolveEvent") + * The `PRE_SOLVE` event is triggered before the `solve` action of asset packages. */ final public const PRE_SOLVE = 'foxy.pre-solve'; } From fda46ca0cf3de7b90aab9f75813eee9e2088319a Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sat, 24 Jan 2026 16:02:38 -0300 Subject: [PATCH 2/2] Apply fixed Coderrabitai review. --- src/FoxyEvents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FoxyEvents.php b/src/FoxyEvents.php index 85215ff..7dfb210 100644 --- a/src/FoxyEvents.php +++ b/src/FoxyEvents.php @@ -7,7 +7,7 @@ abstract class FoxyEvents { /** - * The `GET_ASSETS` event is triggered before the `solve` action of asset packages and during the retrieves the map + * The `GET_ASSETS` event is triggered before the `solve` action of asset packages and while retrieving the map * of the asset packages. */ final public const GET_ASSETS = 'foxy.get-assets';