From 3293f6a3fa553fb4264edd380bae6df7c55cab42 Mon Sep 17 00:00:00 2001 From: Koldo Picaza <1093654+kpicaza@users.noreply.github.com> Date: Mon, 25 Jul 2022 20:58:31 +0200 Subject: [PATCH 1/2] allow executing some composer plugins in dev mode --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6b9e6ea..d24b581 100644 --- a/composer.json +++ b/composer.json @@ -57,6 +57,11 @@ "infection": "XDEBUG_MODE=coverage roave-infection-static-analysis-plugin" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "infection/extension-installer": true, + "icanhazstring/composer-unused": true, + "phpro/grumphp": true + } } } From b15300cdae8283e8d77547026fb4c92fa52d31a8 Mon Sep 17 00:00:00 2001 From: Koldo Picaza <1093654+kpicaza@users.noreply.github.com> Date: Mon, 25 Jul 2022 21:13:47 +0200 Subject: [PATCH 2/2] Fix coding style issue --- src/Exception/InvalidStrategyTypeGiven.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Exception/InvalidStrategyTypeGiven.php b/src/Exception/InvalidStrategyTypeGiven.php index 3078ea1..43cd55e 100644 --- a/src/Exception/InvalidStrategyTypeGiven.php +++ b/src/Exception/InvalidStrategyTypeGiven.php @@ -8,7 +8,6 @@ final class InvalidStrategyTypeGiven extends InvalidArgumentException { - public static function withType(string $strategyType): self { return new self(sprintf('Unknown toggle strategy type %s given.', $strategyType));