Completed
Pull Request — master (#952)
by Kévin
14:33 queued 08:25
created
src/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/HttpCache/PurgerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/HttpCache/EventListener/ConfigureListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/HttpCache/EventListener/AddTagsListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/HttpCache/EventListener/PurgeListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
Please login to merge, or discard this patch.
src/HttpCache/VarnishPurger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 /*
5 5
  * This file is part of the API Platform project.
6 6
  *
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         }
44 44
 
45 45
         // Create the regex to purge all tags in just one request
46
-        $parts = array_map(function ($iri) {
46
+        $parts = array_map(function($iri) {
47 47
             sprintf('(^|\,)%s($|\,)', preg_quote($iri));
48 48
         }, $iris);
49 49
         $regex = isset($parts[1]) ? sprintf('(%s)', implode(')|(', $parts)) : $parts[0];
Please login to merge, or discard this patch.