Completed
Push — master ( 1696ee...ca5986 )
by Anton
11:57
created
source/Spiral/Database/Drivers/Postgres/Schemas/ColumnSchema.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
             . "WHERE conrelid = ? AND contype = 'c' AND (consrc LIKE ? OR consrc LIKE ?)";
400 400
 
401 401
         $constraints = $this->table->driver()->query(
402
-            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%',]
402
+            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%', ]
403 403
         );
404 404
 
405 405
         foreach ($constraints as $constraint) {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/SQLite/Schemas/ColumnSchema.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
             }
168 168
         }
169 169
 
170
-        $options = array_map(function ($value) {
170
+        $options = array_map(function($value) {
171 171
             return intval($value);
172 172
         }, explode(',', $options));
173 173
 
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Database.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
             $key = md5(serialize([$query, $parameters, $this->name, $this->prefix]));
264 264
         }
265 265
 
266
-        $data = $store->remember($key, $lifetime, function () use ($query, $parameters) {
266
+        $data = $store->remember($key, $lifetime, function() use ($query, $parameters) {
267 267
             return $this->query($query, $parameters)->fetchAll();
268 268
         });
269 269
 
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Quoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function expression($identifier)
93 93
     {
94
-        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function ($match) {
94
+        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function($match) {
95 95
             $identifier = $match[1];
96 96
 
97 97
             //Function name
Please login to merge, or discard this patch.
source/Spiral/ODM/Accessors/ScalarArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
             return $this;
375 375
         }
376 376
 
377
-        $this->data = array_filter($this->data, function ($item) use ($value) {
377
+        $this->data = array_filter($this->data, function($item) use ($value) {
378 378
             return $item != $value;
379 379
         });
380 380
 
Please login to merge, or discard this patch.
source/Spiral/ODM/DocumentEntity.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -425,7 +425,7 @@
 block discarded – undo
425 425
             }
426 426
 
427 427
             if (is_array($value)) {
428
-                array_walk_recursive($value, function (&$value) {
428
+                array_walk_recursive($value, function(&$value) {
429 429
                     if ($value instanceof \MongoId) {
430 430
                         $value = (string)$value;
431 431
                     }
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/ORM/RecordEntity.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,8 @@
 block discarded – undo
136 136
      *
137 137
      * @see Record::$indexes
138 138
      */
139
-    const INDEX  = 1000;            //Default index type
140
-    const UNIQUE = 2000;            //Unique index definition
139
+    const INDEX  = 1000; //Default index type
140
+    const UNIQUE = 2000; //Unique index definition
141 141
 
142 142
     /**
143 143
      * Errors in relations and acessors.
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Storage/StorageServer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework, SpiralScout LLC.
4
- *
5
- * @package   spiralFramework
6
- * @author    Anton Titov (Wolfy-J)
7
- * @copyright ©2009-2011
8
- */
3
+     * Spiral Framework, SpiralScout LLC.
4
+     *
5
+     * @package   spiralFramework
6
+     * @author    Anton Titov (Wolfy-J)
7
+     * @copyright ©2009-2011
8
+     */
9 9
 namespace Spiral\Storage;
10 10
 
11 11
 use Psr\Http\Message\StreamInterface;
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Configs/TokenizerConfig.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license MIT
6
- * @author  Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license MIT
6
+     * @author  Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral\Tokenizer\Configs;
9 9
 
10 10
 use Spiral\Core\InjectableConfig;
Please login to merge, or discard this patch.