Completed
Pull Request — master (#952)
by Kévin
03:16
created
src/HttpCache/EventListener/AddTagsListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\HttpCache\EventListener;
15 15
 
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
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\HttpCache;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Doctrine/EventListener/PurgeHttpCacheListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/HttpCache/EventListener/AddHeadersListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\HttpCache\EventListener;
15 15
 
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
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\HttpCache;
15 15
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         }
45 45
 
46 46
         // Create the regex to purge all tags in just one request
47
-        $parts = array_map(function ($iri) {
47
+        $parts = array_map(function($iri) {
48 48
             return sprintf('(^|\,)%s($|\,)', preg_quote($iri));
49 49
         }, $iris);
50 50
 
Please login to merge, or discard this patch.
src/Serializer/AbstractItemNormalizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use ApiPlatform\Core\Metadata\Property\Factory\PropertyMetadataFactoryInterface;
22 22
 use ApiPlatform\Core\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface;
23 23
 use ApiPlatform\Core\Metadata\Property\PropertyMetadata;
24
-use ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\CircularReference;
25 24
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
26 25
 use Symfony\Component\PropertyAccess\PropertyAccess;
27 26
 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
Please login to merge, or discard this patch.