Skip to content

Commit

Permalink
138 Fix PHP 8.1 incompatibility (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolcks authored Jan 9, 2022
1 parent 74a6328 commit cf2f5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WatcherCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function determineOptions(InputInterface $input): array
{
$options = $this->getOptionsFromConfigFile();

$commandLineArguments = trim($input->getArgument('phpunit-options'), "'");
$commandLineArguments = trim($input->getArgument('phpunit-options') ?? '', "'");

if (! empty($commandLineArguments)) {
$options['phpunit']['arguments'] = $commandLineArguments;
Expand Down

0 comments on commit cf2f5e6

Please sign in to comment.