Skip to content

Commit cf2f5e6

Browse files
authored
138 Fix PHP 8.1 incompatibility (#140)
1 parent 74a6328 commit cf2f5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WatcherCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function determineOptions(InputInterface $input): array
3434
{
3535
$options = $this->getOptionsFromConfigFile();
3636

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

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

0 commit comments

Comments
 (0)