Skip to content

Commit

Permalink
fix issue #204
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Feb 6, 2024
1 parent 2dec970 commit 96fcbe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .changes/unreleased/Fixed-20240206-082414.yaml
@@ -0,0 +1,4 @@
kind: Fixed
body: '[#204](https://github.com/overtrue/phplint/issues/204) : PHPLint 9.1.1 is unable
to interpret correctly command arguments/options'
time: 2024-02-06T08:24:14.292622556Z
2 changes: 1 addition & 1 deletion bin/phplint
Expand Up @@ -25,9 +25,9 @@ if (true === $input->hasParameterOption(['--no-progress'], true)) {
$progress = $input->getParameterOption('--progress', 'printer');

$extensions = match($progress) {
'meter' => [new ProgressPrinter()],
'bar' => [new ProgressBar()],
'indicator' => [new ProgressIndicator()],
default => [new ProgressPrinter()],
};
}

Expand Down

0 comments on commit 96fcbe3

Please sign in to comment.