Completed
Branch master (1742c2)
by Dmitry
33:53 queued 23:31
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         if ($response->getBody()->__toString() === self::STATUS_OK_REPORT_RECORDED) {
57 57
             return true;
58 58
         }
59
-        throw new RuntimeException('Report sending trouble: ' . $response->getBody() . '.');
59
+        throw new RuntimeException('Report sending trouble: '.$response->getBody().'.');
60 60
     }
61 61
 
62 62
     /**
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         foreach ($paramsList as $item) {
73 73
             // Fast parse tags
74 74
             $value = substr($responseText,
75
-                strpos($responseText, '<' . $item . '>') + mb_strlen('<' . $item . '>'),
76
-                strpos($responseText, '</' . $item . '>') - strpos($responseText, '<' . $item . '>') - mb_strlen('<' . $item . '>')
75
+                strpos($responseText, '<'.$item.'>') + mb_strlen('<'.$item.'>'),
76
+                strpos($responseText, '</'.$item.'>') - strpos($responseText, '<'.$item.'>') - mb_strlen('<'.$item.'>')
77 77
             );
78 78
 
79 79
             if ($value !== false) {
Please login to merge, or discard this patch.
src/ConfigurableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     {
15 15
         foreach ($options as $option => $value)
16 16
         {
17
-            $setter = 'set' . ucfirst($option);
17
+            $setter = 'set'.ucfirst($option);
18 18
 
19 19
             if (method_exists($this, $setter)) {
20 20
                 $this->$setter($value);
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
             }
28 28
 
29 29
             if (!$ignoreMissingOptions) {
30
-                throw new InvalidArgumentException("Property `{$option}` not found in class `" . __CLASS__ . "`.");
30
+                throw new InvalidArgumentException("Property `{$option}` not found in class `".__CLASS__."`.");
31 31
             }
32 32
         }
33 33
     }
Please login to merge, or discard this patch.
src/GenericClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
                 continue;
151 151
             }
152 152
 
153
-            $this->getLogger()->info("Got OK response: `{$result}`. Elapsed " . (time() - $startTime) . ' sec.');
153
+            $this->getLogger()->info("Got OK response: `{$result}`. Elapsed ".(time() - $startTime).' sec.');
154 154
 
155 155
             return $result;
156 156
         }
Please login to merge, or discard this patch.
src/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         if ($this->verbose)
24 24
         {
25
-            echo date("d/m/y H:i:s") . ' [' . $level . '] ' . $message . PHP_EOL;
25
+            echo date("d/m/y H:i:s").' ['.$level.'] '.$message.PHP_EOL;
26 26
         }
27 27
     }
28 28
 }
29 29
\ No newline at end of file
Please login to merge, or discard this patch.