Passed
Push — master ( 4a992f...5a275a )
by Jakub
02:05
created
src/TAssertions.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,8 @@
 block discarded – undo
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.";
Please login to merge, or discard this patch.
src/ResultsFormatters/Console.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,8 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
tests/TesterTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,8 @@
 block discarded – undo
51 51
 
52 52
     public function testColors(): void
53 53
     {
54
-        $resultsFormatter = new class extends AbstractResultsFormatter implements IConsoleAwareResultsFormatter {
54
+        $resultsFormatter = new class extends AbstractResultsFormatter implements IConsoleAwareResultsFormatter
55
+        {
55 56
             public Console $console;
56 57
             public string $testsFolder = "";
57 58
 
Please login to merge, or discard this patch.