Test Failed
Push — develop ( 328010...9d2605 )
by Alec
02:49
created
src/Tools/Reports/Formatters/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     protected function wrongFormattableType(string $expected, Formattable $formattable): void
21 21
     {
22 22
         throw new \RuntimeException(
23
-            'Instance of [' . $expected . '] expected, [' . typeOf($formattable) . '] given.'
23
+            'Instance of ['.$expected.'] expected, ['.typeOf($formattable).'] given.'
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Tools/Reports/Formatters/BenchmarkFunctionFormatter.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
     {
49 49
         if ($function instanceof BenchmarkFunction) {
50 50
             return
51
-                $this->formatBenchmarkRelative($function) .
51
+                $this->formatBenchmarkRelative($function).
52 52
                 (empty($exception = $this->formatException($function)) ?
53 53
                     PHP_EOL :
54
-                    static::EXCEPTIONS . PHP_EOL . $exception);
54
+                    static::EXCEPTIONS.PHP_EOL.$exception);
55 55
         }
56 56
         $this->wrongFormattableType(BenchmarkFunction::class, $function);
57 57
         // @codeCoverageIgnoreStart
@@ -157,8 +157,7 @@  discard block
 block discarded – undo
157 157
         $str = static::getExporter()->export($executionReturn);
158 158
         return
159 159
             'array' === $type ?
160
-                $str :
161
-                sprintf(
160
+                $str : sprintf(
162 161
                     '%s(%s)',
163 162
                     $type,
164 163
                     $str
Please login to merge, or discard this patch.
src/Tools/HRTimer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             // There is almost no sense to use polyfill function.
37 37
             // If you're REALLY need to use HRTimer set `$ignoreVersionRestrictions` to true.
38 38
             // Otherwise use `Timer::class` instance instead.
39
-            throw new \RuntimeException('[' . static::class . '] Your php version is below 7.3.0.');
39
+            throw new \RuntimeException('['.static::class.'] Your php version is below 7.3.0.');
40 40
         }
41 41
         if (PHP_INT_SIZE < INT_SIZE_64BIT) {
42 42
             // `HRTimer::class` is designed and tested in 64bit environment
Please login to merge, or discard this patch.
src/Tools/Reports/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             static::setBenchmarkFunctionFormatter($formatter);
64 64
             return static::getBenchmarkFunctionFormatter();
65 65
         }
66
-        throw new \RuntimeException('Formatter [' . typeOf($formatter) . '] is not accepted.');
66
+        throw new \RuntimeException('Formatter ['.typeOf($formatter).'] is not accepted.');
67 67
     }
68 68
 
69 69
     /**
Please login to merge, or discard this patch.