Completed
Pull Request — master (#952)
by Kévin
21:00
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/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
  *
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             return;
43 43
         }
44 44
 
45
-        $parts = array_map(function ($iri) {
45
+        $parts = array_map(function($iri) {
46 46
             sprintf('(^|\,)%s($|\,)', preg_quote($iri));
47 47
         }, $iris);
48 48
         $regex = isset($parts[1]) ? sprintf('(%s)', implode(')|(', $parts)) : $parts[0];
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.