From 34de0591973c2603bae61514070e7861a1966776 Mon Sep 17 00:00:00 2001 From: Viacheslav Poturaev Date: Thu, 28 Apr 2022 21:15:24 +0200 Subject: [PATCH] Add null check --- src/TextUI/Command.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TextUI/Command.php b/src/TextUI/Command.php index d67d261fbe..6103d099e3 100644 --- a/src/TextUI/Command.php +++ b/src/TextUI/Command.php @@ -338,9 +338,10 @@ protected function handleArguments(array $argv) break; case '--test-suffix': + $o1 = isset($option[1]) ? $option[1] : ''; $this->arguments['testSuffixes'] = explode( ',', - $option[1] + $o1 ); break;