@@ -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 | } |