@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | $cmd = new Parser("", [ |
15 | 15 | "path" => [ |
16 | - Parser::Default => $vendorDirectory . "/../tests", |
|
16 | + Parser::default => $vendorDirectory . "/../tests", |
|
17 | 17 | ], |
18 | 18 | "--colors" => [ |
19 | 19 | Parser::Optional => true, |
@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Check whether to skip a test method |
51 | 51 | */ |
52 | - public function shouldSkip(string $class, string $method): bool|string |
|
52 | + public function shouldSkip(string $class, string $method): bool | string |
|
53 | 53 | { |
54 | 54 | $value = $this->getSkipValue($class, $method); |
55 | 55 | if (is_scalar($value)) { |
@@ -137,7 +137,8 @@ |
||
137 | 137 | foreach ($files as $name => $file) { |
138 | 138 | try { |
139 | 139 | FileSystem::delete($name); |
140 | - } catch (IOException) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement |
|
140 | + } catch (IOException) { |
|
141 | +// phpcs:ignore Generic.CodeAnalysis.EmptyStatement |
|
141 | 142 | } |
142 | 143 | } |
143 | 144 | } |