Passed
Branch master (d28503)
by Kirill
32:55
created
src/Runtime/Observer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/Observable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/CallStackInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/CallStack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/TraceRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime\CallStackRenderer;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/DefinitionTraceRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime\CallStackRenderer;
11 11
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function __construct(Definition $definition)
30 30
     {
31
-        $this->definition   = $definition;
31
+        $this->definition = $definition;
32 32
 
33 33
         $this->file   = $definition->getFileName();
34 34
         $this->line   = $definition->getDeclarationLine();
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/PhpTraceRenderer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime\CallStackRenderer;
11 11
 
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $this->trace = $trace;
29 29
 
30
-        $this->file = (string)($trace['file'] ?? 'php://input');
31
-        $this->line = (int)($trace['line'] ?? 0);
30
+        $this->file = (string) ($trace['file'] ?? 'php://input');
31
+        $this->line = (int) ($trace['line'] ?? 0);
32 32
     }
33 33
 
34 34
     /**
@@ -54,16 +54,16 @@  discard block
 block discarded – undo
54 54
         $result = $trace['function'];
55 55
 
56 56
         if (\array_key_exists('class', $trace)) {
57
-            $result = $trace['class'] . $trace['type'] . $result;
57
+            $result = $trace['class'].$trace['type'].$result;
58 58
         }
59 59
 
60 60
         $arguments = [];
61 61
 
62
-        foreach ((array)($trace['args'] ?? []) as $argument) {
62
+        foreach ((array) ($trace['args'] ?? []) as $argument) {
63 63
             $arguments[] = $this->valueToString($argument);
64 64
         }
65 65
 
66
-        return $result . '(' . \implode(', ', $arguments) . ')';
66
+        return $result.'('.\implode(', ', $arguments).')';
67 67
     }
68 68
 
69 69
     /**
@@ -104,10 +104,10 @@  discard block
 block discarded – undo
104 104
         $body = \implode(', ', $parts);
105 105
 
106 106
         if (\is_object($iterator)) {
107
-            return $this->objectToString($iterator) . '<' . $body . '>';
107
+            return $this->objectToString($iterator).'<'.$body.'>';
108 108
         }
109 109
 
110
-        return '[' . $body . ']';
110
+        return '['.$body.']';
111 111
     }
112 112
 
113 113
     /**
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer/BaseTraceRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime\CallStackRenderer;
11 11
 
Please login to merge, or discard this patch.
src/Runtime/CallStackRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace Railt\SDL\Runtime;
11 11
 
Please login to merge, or discard this patch.