Completed
Push — develop ( 35365a...6b618f )
by Alec
03:18
created
src/Tools/Reports/TimerReport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,14 +47,14 @@
 block discarded – undo
47 47
         if (DEFAULT_NAME === $name = $this->getName()) {
48 48
             return
49 49
                 sprintf(
50
-                    'Timer:[%s] Elapsed: %s' . PHP_EOL,
50
+                    'Timer:[%s] Elapsed: %s'.PHP_EOL,
51 51
                     $name,
52 52
                     format_time($this->getElapsed())
53 53
                 );
54 54
         }
55 55
         return
56 56
             sprintf(
57
-                'Timer:[%s] Average: %s, Last: %s, Min(%s): %s, Max(%s): %s, Count: %s' . PHP_EOL,
57
+                'Timer:[%s] Average: %s, Last: %s, Min(%s): %s, Max(%s): %s, Count: %s'.PHP_EOL,
58 58
                 $name,
59 59
                 format_time($this->getAverageValue()),
60 60
                 format_time($this->getLastValue()),
Please login to merge, or discard this patch.
src/Tools/Reports/BenchmarkReport.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function __toString(): string
40 40
     {
41 41
         $r = (string)$this->getProfiler()->report();
42
-        $r .= 'Benchmark:' . PHP_EOL;
42
+        $r .= 'Benchmark:'.PHP_EOL;
43 43
         foreach ($this->computeRelatives() as $indexName => $result) {
44 44
             $function = $this->getFunctionObject($indexName);
45 45
             $arguments = $function->getArgs();
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
         foreach ($relatives as $name => $relative) {
85 85
             $relatives[$name] =
86
-                $this->percent((float)$relative - 1) . ' ' .
86
+                $this->percent((float)$relative - 1).' '.
87 87
                 brackets(format_time($averages[$name]), BRACKETS_PARENTHESES);
88 88
         }
89 89
         return $relatives;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     private function percent(float $relative): string
113 113
     {
114 114
         return
115
-            number_format($relative * 100, 1) . '%';
115
+            number_format($relative * 100, 1).'%';
116 116
     }
117 117
 
118 118
     /**
Please login to merge, or discard this patch.