From 59fc6e5b9536d1a6f1164569ef0dd3cd39eb6ac9 Mon Sep 17 00:00:00 2001 From: ElisDN Date: Mon, 19 Feb 2024 18:54:02 +0300 Subject: [PATCH] Move risky option --- .php-cs-fixer.php | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 07a45b6d..76c2a5fd 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -27,6 +27,7 @@ __FILE__, ]) ) + ->setRiskyAllowed(true) ->setRules([ '@PSR12' => true, '@PSR12:risky' => true, diff --git a/composer.json b/composer.json index 2683c4cf..81737722 100644 --- a/composer.json +++ b/composer.json @@ -88,7 +88,7 @@ "app": "php bin/app.php", "test": "codecept", "lint": "phplint", - "php-cs-fixer": "php-cs-fixer --config=.php-cs-fixer.php --allow-risky=yes", + "php-cs-fixer": "php-cs-fixer --config=.php-cs-fixer.php", "psalm": "psalm --config=psalm.xml" } }