Completed
Push — master ( 60dee0...60dee0 )
by Alec
04:21 queued 02:03
created
src/Tools/Reports/Formatters/BenchmarkFunctionFormatter.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@  discard block
 block discarded – undo
39 39
     public function getString(): string
40 40
     {
41 41
         return
42
-            $this->formatBenchmarkRelative() .
42
+            $this->formatBenchmarkRelative().
43 43
             (empty($exception = $this->formatException()) ?
44 44
                 PHP_EOL :
45
-                static::EXCEPTIONS . PHP_EOL . $exception);
45
+                static::EXCEPTIONS.PHP_EOL.$exception);
46 46
     }
47 47
 
48 48
     /**
@@ -137,12 +137,11 @@  discard block
 block discarded – undo
137 137
         try {
138 138
             $str = var_export($executionReturn, true);
139 139
         } catch (\Exception $e) {
140
-            $str = '[' . typeOf($e) . ']' . $e->getMessage();
140
+            $str = '['.typeOf($e).']'.$e->getMessage();
141 141
         }
142 142
         return
143 143
             $type === 'array' ?
144
-                $str :
145
-                sprintf(
144
+                $str : sprintf(
146 145
                     '%s(%s)',
147 146
                     $type,
148 147
                     $str
Please login to merge, or discard this patch.
src/Tools/Reports/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             return
65 65
                 new BenchmarkReport($reportable);
66 66
         }
67
-        throw new \RuntimeException('Attempt to create unimplemented report for: ' . typeOf($reportable));
67
+        throw new \RuntimeException('Attempt to create unimplemented report for: '.typeOf($reportable));
68 68
     }
69 69
 
70 70
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             return
90 90
                 self::getBenchmarkReportFormatter($report);
91 91
         }
92
-        throw new \RuntimeException('Attempt to create unimplemented formatter for: ' . typeOf($report));
92
+        throw new \RuntimeException('Attempt to create unimplemented formatter for: '.typeOf($report));
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.