Skip to content

Commit

Permalink
Fix failiing test
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
  • Loading branch information
kamil-tekiela committed Jan 6, 2024
1 parent 5a06dcb commit 33be4b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Utils/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ public function parseLint(): array|false
'ansi',
];
$params = $this->getopt('hq:c:a', $longopts);
if ($params === false) {
return false;
}

$this->mergeLongOpts($params, $longopts);

return $params;
Expand Down Expand Up @@ -221,6 +225,10 @@ public function parseTokenize(): array|false
'ansi',
];
$params = $this->getopt('hq:a', $longopts);
if ($params === false) {
return false;
}

$this->mergeLongOpts($params, $longopts);

return $params;
Expand Down

0 comments on commit 33be4b1

Please sign in to comment.