From 7ef9c3bcd17f1a4e4d3d5966df08a018ccf06306 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 11 Jul 2025 18:22:48 +0300 Subject: [PATCH] Fixed parallel running --- README.md | 3 +++ app/Commands/DefaultCommand.php | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e6c3dbf..c831d68 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,9 @@ codestyle --test # Fix code-style codestyle +# Also you can run parallel styling +codestyle --parallel + # Update `.editorconfig` codestyle editorconfig diff --git a/app/Commands/DefaultCommand.php b/app/Commands/DefaultCommand.php index be93609..883eb98 100644 --- a/app/Commands/DefaultCommand.php +++ b/app/Commands/DefaultCommand.php @@ -104,9 +104,8 @@ protected function configure(): void new InputOption( 'parallel', 'p', - InputOption::VALUE_REQUIRED, - 'Runs the linter in parallel (Experimental)', - true + InputOption::VALUE_NONE, + 'Runs the linter in parallel (Experimental)' ), ] );