Completed
Push — develop ( a410d7...efad38 )
by Alec
04:48 queued 01:47
created
src/Tools/HRTimer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             // There is almost no sense in using polyfill function.
29 29
             // If you're REALLY need to use HRTimer set `$ignoreVersionRestrictions` to true.
30 30
             // Otherwise use `Timer::class` instance instead.
31
-            throw new \RuntimeException('[' . static::class . '] Your php version is below 7.3.0.');
31
+            throw new \RuntimeException('['.static::class.'] Your php version is below 7.3.0.');
32 32
         }
33 33
         // @codeCoverageIgnoreStart
34 34
         if (PHP_INT_SIZE < INT_SIZE_64BIT) {
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
             $stop_ok = true;
56 56
         }
57 57
         if (!$start_ok) {
58
-            throw new \RuntimeException('Start value is NOT ok. [' . typeOf($start) . ']');
58
+            throw new \RuntimeException('Start value is NOT ok. ['.typeOf($start).']');
59 59
         }
60 60
         if (!$stop_ok) {
61
-            throw new \RuntimeException('Stop value is NOT ok. [' . typeOf($stop) . ']');
61
+            throw new \RuntimeException('Stop value is NOT ok. ['.typeOf($stop).']');
62 62
         }
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Tools/Timer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
             $stop_ok = true;
31 31
         }
32 32
         if (!$start_ok) {
33
-            throw new \RuntimeException('Start value is NOT ok. [' . typeOf($start) . ']');
33
+            throw new \RuntimeException('Start value is NOT ok. ['.typeOf($start).']');
34 34
         }
35 35
         if (!$stop_ok) {
36
-            throw new \RuntimeException('Stop value is NOT ok. [' . typeOf($stop) . ']');
36
+            throw new \RuntimeException('Stop value is NOT ok. ['.typeOf($stop).']');
37 37
         }
38 38
     }
39 39
 
Please login to merge, or discard this patch.
src/Tools/AbstractTimer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public function check(?int $iterationNumber = null): self
68 68
     {
69 69
         if ($this->isStopped()) {
70
-            throw new \RuntimeException('Timer[' . $this->name . '] is already stopped.');
70
+            throw new \RuntimeException('Timer['.$this->name.'] is already stopped.');
71 71
         }
72 72
         if ($this->isNotStarted()) {
73 73
             $this->start();
Please login to merge, or discard this patch.