Completed
Pull Request — master (#92)
by Josh
04:04 queued 01:44
created
Zewa/HTTP/Session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa\HTTP;
4 4
 
5 5
 use Zewa\Container;
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     private function incrementFlashStorage(array $storage)
51 51
     {
52 52
         foreach ($storage as $variable => $data) {
53
-            $storage[$variable]['increment'] ++;
53
+            $storage[$variable]['increment']++;
54 54
             if ($storage[$variable]['increment'] > 1) {
55 55
                 unset($_SESSION[$variable], $storage[$variable]);
56 56
             } else {
Please login to merge, or discard this patch.
Zewa/HTTP/Get.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/Security.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 //@TODO this will not accept all float values, this validates /against/ syntax
49 49
 
50 50
                 if (($int === (int)trim($data, '-')) && strlen((string)(int)$data) === strlen($data)) {
51
-                    $data = (int) $data;
51
+                    $data = (int)$data;
52 52
                 } elseif ($int !== $float && preg_match($re, $data) === 1 && strlen($data) === strlen($float)) {
53 53
                     $data = $float;
54 54
                 }
Please login to merge, or discard this patch.
Zewa/HTTP/Put.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/SuperGlobal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/Delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.