@@ -25,9 +25,9 @@ |
||
25 | 25 | $this->suites = $suites; |
26 | 26 | } |
27 | 27 | |
28 | - /** |
|
29 | - * @param class-string $className |
|
30 | - */ |
|
28 | + /** |
|
29 | + * @param class-string $className |
|
30 | + */ |
|
31 | 31 | public function create(string $className): TestCase |
32 | 32 | { |
33 | 33 | foreach ($this->suites as $suite) { |
@@ -294,7 +294,8 @@ |
||
294 | 294 | $e = null; |
295 | 295 | try { |
296 | 296 | $callback(); |
297 | - } catch (\Throwable $e) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement |
|
297 | + } catch (\Throwable $e) { |
|
298 | +// phpcs:ignore Generic.CodeAnalysis.EmptyStatement |
|
298 | 299 | } |
299 | 300 | $success = ($e === null); |
300 | 301 | $message = ($success) ? "" : "No exception was expected but " . $e::class . " was thrown."; |
@@ -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 | } |