Completed
Pull Request — master (#27)
by
unknown
04:48
created
src/Exception/InvalidArgumentException.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
 
4 4
 namespace Roave\DoctrineSimpleCache\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/CacheException.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
 
4 4
 namespace Roave\DoctrineSimpleCache\Exception;
5 5
 
Please login to merge, or discard this patch.
src/SimpleCacheAdapter.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
 
4 4
 namespace Roave\DoctrineSimpleCache;
5 5
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             throw Exception\InvalidArgumentException::fromEmptyKey();
48 48
         }
49 49
 
50
-        if (preg_match('/[' . preg_quote('{}()/\@:', '/') . ']/', $key)) {
50
+        if (preg_match('/['.preg_quote('{}()/\@:', '/').']/', $key)) {
51 51
             throw Exception\InvalidArgumentException::fromInvalidKeyCharacters($key);
52 52
         }
53 53
     }
Please login to merge, or discard this patch.
test/asset/NotMultiOperationCache.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
 
4 4
 namespace RoaveTestAsset\DoctrineSimpleCache;
5 5
 
Please login to merge, or discard this patch.
test/asset/NotClearableCache.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
 
4 4
 namespace RoaveTestAsset\DoctrineSimpleCache;
5 5
 
Please login to merge, or discard this patch.
test/asset/FullyImplementedCache.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
 
4 4
 namespace RoaveTestAsset\DoctrineSimpleCache;
5 5
 
Please login to merge, or discard this patch.
test/unit/Exception/CacheExceptionTest.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
 
4 4
 namespace RoaveTest\DoctrineSimpleCache\Exception;
5 5
 
Please login to merge, or discard this patch.
test/unit/Exception/InvalidArgumentExceptionTest.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
 
4 4
 namespace RoaveTest\DoctrineSimpleCache\Exception;
5 5
 
Please login to merge, or discard this patch.
test/unit/CacheIntegrationTest.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
 
4 4
 namespace RoaveTest\DoctrineSimpleCache;
5 5
 
Please login to merge, or discard this patch.