diff --git a/sets/default.php b/sets/default.php index 680b380..7ddb5b6 100644 --- a/sets/default.php +++ b/sets/default.php @@ -5,6 +5,7 @@ use Exoticca\CodingStyle\Rules\DeclareStrictTypesFixer; use Exoticca\CodingStyle\Rules\InlineVarTagFixer; use Exoticca\CodingStyle\Rules\ValueObjectImportFixer; +use PhpCsFixer\Fixer\FunctionNotation\SingleLineThrowFixer; use PhpCsFixer\Fixer\Import\FullyQualifiedStrictTypesFixer; use PhpCsFixer\Fixer\Import\GlobalNamespaceImportFixer; use Symplify\EasyCodingStandard\Config\ECSConfig; @@ -16,6 +17,9 @@ php80Migration: true, phpCsFixer: true, ) + ->withSkip([ + SingleLineThrowFixer::class, + ]) ->withRules([ FullyQualifiedStrictTypesFixer::class, DeclareStrictTypesFixer::class,