Passed
Branch master (ce3ee7)
by Kirill
03:41
created
Category
src/Proxy.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\Storage;
11 11
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function remember(Readable $readable, \Closure $then)
46 46
     {
47
-        return $this->front->remember($readable, function (Readable $readable) use ($then) {
47
+        return $this->front->remember($readable, function(Readable $readable) use ($then) {
48 48
             return $this->fallback->remember($readable, $then);
49 49
         });
50 50
     }
Please login to merge, or discard this patch.
src/Storage.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\Storage;
11 11
 
Please login to merge, or discard this patch.
src/Drivers/EmulatingStorage.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\Storage\Drivers;
11 11
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $key = $readable->getHash();
34 34
 
35
-        if (! \array_key_exists($key, $this->storage)) {
35
+        if (!\array_key_exists($key, $this->storage)) {
36 36
             $this->storage[$key] = $this->encode($then($readable));
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Drivers/ArrayStorage.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\Storage\Drivers;
11 11
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $key = $readable->getHash();
33 33
 
34
-        if (! \array_key_exists($key, $this->storage)) {
34
+        if (!\array_key_exists($key, $this->storage)) {
35 35
             $this->storage[$key] = $then($readable);
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Drivers/NullableStorage.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\Storage\Drivers;
11 11
 
Please login to merge, or discard this patch.
src/Drivers/Psr16Storage.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\Storage\Drivers;
11 11
 
Please login to merge, or discard this patch.
src/Drivers/Psr6Storage.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\Storage\Drivers;
11 11
 
Please login to merge, or discard this patch.
src/polyfill.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 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\Storage;
11 11
 
12
-\class_alias(__NAMESPACE__ . '\\Storage', __NAMESPACE__ . '\\Persister');
13
-\class_alias(__NAMESPACE__ . '\\Drivers\\Psr6Storage', __NAMESPACE__ . '\\Psr6Persister');
14
-\class_alias(__NAMESPACE__ . '\\Drivers\\Psr16Storage', __NAMESPACE__ . '\\Psr16Persister');
15
-\class_alias(__NAMESPACE__ . '\\Drivers\\ArrayStorage', __NAMESPACE__ . '\\ArrayPersister');
16
-\class_alias(__NAMESPACE__ . '\\Drivers\\NullableStorage', __NAMESPACE__ . '\\NullablePersister');
17
-\class_alias(__NAMESPACE__ . '\\Drivers\\EmulatingStorage', __NAMESPACE__ . '\\EmulatingPersister');
12
+\class_alias(__NAMESPACE__.'\\Storage', __NAMESPACE__.'\\Persister');
13
+\class_alias(__NAMESPACE__.'\\Drivers\\Psr6Storage', __NAMESPACE__.'\\Psr6Persister');
14
+\class_alias(__NAMESPACE__.'\\Drivers\\Psr16Storage', __NAMESPACE__.'\\Psr16Persister');
15
+\class_alias(__NAMESPACE__.'\\Drivers\\ArrayStorage', __NAMESPACE__.'\\ArrayPersister');
16
+\class_alias(__NAMESPACE__.'\\Drivers\\NullableStorage', __NAMESPACE__.'\\NullablePersister');
17
+\class_alias(__NAMESPACE__.'\\Drivers\\EmulatingStorage', __NAMESPACE__.'\\EmulatingPersister');
Please login to merge, or discard this patch.