Completed
Branch feature/pre-split (afd44c)
by Anton
07:02
created
source/Spiral/Reactor/Body/DocComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $lines = $this->getLines();
25 25
 
26
-        array_walk($lines, function (&$line) use ($search, $replace) {
26
+        array_walk($lines, function(&$line) use ($search, $replace) {
27 27
             $line = str_replace($search, $replace, $line);
28 28
         });
29 29
 
Please login to merge, or discard this patch.
source/Spiral/Reactor/Body/Source.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     public function render($indentLevel = 0)
112 112
     {
113 113
         $lines = $this->lines;
114
-        array_walk($lines, function (&$line) use ($indentLevel) {
114
+        array_walk($lines, function(&$line) use ($indentLevel) {
115 115
             $line = $this->indent($line, $indentLevel);
116 116
         });
117 117
 
Please login to merge, or discard this patch.
source/Spiral/Reactor/ClassDeclaration/PropertyDeclaration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         $result = '';
95 95
         if (!$this->docComment->isEmpty()) {
96
-            $result .= $this->docComment->render($indentLevel) . "\n";
96
+            $result .= $this->docComment->render($indentLevel)."\n";
97 97
         }
98 98
 
99 99
         $result .= $this->indent("{$this->access} \${$this->getName()}", $indentLevel);
Please login to merge, or discard this patch.
source/Spiral/Reactor/FileDeclaration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $result = "<?php\n";
109 109
 
110 110
         if (!$this->docComment->isEmpty()) {
111
-            $result .= $this->docComment->render($indentLevel) . "\n";
111
+            $result .= $this->docComment->render($indentLevel)."\n";
112 112
         }
113 113
 
114 114
         if (!empty($this->namespace)) {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         }
117 117
 
118 118
         if (!empty($this->uses)) {
119
-            $result .= $this->renderUses($indentLevel) . "\n\n";
119
+            $result .= $this->renderUses($indentLevel)."\n\n";
120 120
         }
121 121
 
122 122
         $result .= $this->elements->render($indentLevel);
Please login to merge, or discard this patch.
source/Spiral/Database/Helpers/QueryInterpolator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,16 +120,16 @@
 block discarded – undo
120 120
                 return sprintf('%F', $parameter);
121 121
 
122 122
             case 'string':
123
-                return "'" . addcslashes($parameter, "'") . "'";
123
+                return "'".addcslashes($parameter, "'")."'";
124 124
 
125 125
             case 'object':
126 126
                 if (method_exists($parameter, '__toString')) {
127
-                    return "'" . addcslashes((string)$parameter, "'") . "'";
127
+                    return "'".addcslashes((string)$parameter, "'")."'";
128 128
                 }
129 129
 
130 130
                 if ($parameter instanceof \DateTime) {
131 131
                     //Let's process dates different way
132
-                    return "'" . $parameter->format(\DateTime::ISO8601) . "'";
132
+                    return "'".$parameter->format(\DateTime::ISO8601)."'";
133 133
                 }
134 134
         }
135 135
 
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Prototypes/AbstractSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
     public function __call($method, $arguments)
405 405
     {
406 406
         if (!in_array($method = strtoupper($method), ['AVG', 'MIN', 'MAX', 'SUM'])) {
407
-            throw new BuilderException("Unknown method '{$method}' in '" . get_class($this) . "'");
407
+            throw new BuilderException("Unknown method '{$method}' in '".get_class($this)."'");
408 408
         }
409 409
 
410 410
         if (!isset($arguments[0]) || count($arguments) > 1) {
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
      */
454 454
     private function havingWrapper()
455 455
     {
456
-        return function ($parameter) {
456
+        return function($parameter) {
457 457
             if ($parameter instanceof FragmentInterface) {
458 458
                 //We are only not creating bindings for plan fragments
459 459
                 if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) {
Please login to merge, or discard this patch.
source/Spiral/Cache/CacheManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         }
66 66
 
67 67
         if (!$store->isAvailable()) {
68
-            throw new CacheException("Unable to mount unavailable store '" . get_class($store) . "'");
68
+            throw new CacheException("Unable to mount unavailable store '".get_class($store)."'");
69 69
         }
70 70
 
71 71
         $this->stores[$name] = $store;
Please login to merge, or discard this patch.
source/Spiral/Models/Prototypes/AbstractEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
                 break;
91 91
             default:
92 92
                 throw new EntityException(
93
-                    "Undefined field format '" . static::FIELD_FORMAT . "'"
93
+                    "Undefined field format '".static::FIELD_FORMAT."'"
94 94
                 );
95 95
         }
96 96
 
Please login to merge, or discard this patch.
source/Spiral/Storage/StorageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @throws StorageException
62 62
      */
63
-    public function locateBucket(string $address, string &$name = null): BucketInterface;
63
+    public function locateBucket(string $address, string & $name = null): BucketInterface;
64 64
 
65 65
     /**
66 66
      * Get or create instance of storage server.
Please login to merge, or discard this patch.