Completed
Pull Request — master (#1324)
by Vincent
06:45 queued 03:26
created
src/Operation/DashPathSegmentNameGenerator.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\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Operation/PathSegmentNameGeneratorInterface.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\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Operation/UnderscorePathSegmentNameGenerator.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\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Api/CachedIdentifiersExtractor.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\Api;
15 15
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function getIdentifiersFromItem($item): array
49 49
     {
50
-        $keys = $this->getKeys($item, function ($item) use (&$identifiers) {
50
+        $keys = $this->getKeys($item, function($item) use (&$identifiers) {
51 51
             return $identifiers = $this->decorated->getIdentifiersFromItem($item);
52 52
         });
53 53
 
Please login to merge, or discard this patch.
src/EventListener/ReadListener.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\EventListener;
15 15
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         }
134 134
 
135 135
         $identifiers = [];
136
-        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id, , $hasIdentifier)) {
136
+        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id,, $hasIdentifier)) {
137 137
             if (true === $hasIdentifier) {
138 138
                 $identifiers[$id] = $request->attributes->get($id);
139 139
             }
Please login to merge, or discard this patch.
src/Security/EventListener/DenyAccessListener.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\Security\EventListener;
15 15
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             'user' => $token->getUser(),
108 108
             'object' => $request->attributes->get('data'),
109 109
             'request' => $request,
110
-            'roles' => array_map(function (Role $role) {
110
+            'roles' => array_map(function(Role $role) {
111 111
                 return $role->getRole();
112 112
             }, $roles),
113 113
             'trust_resolver' => $this->authenticationTrustResolver,
Please login to merge, or discard this patch.
src/DataProvider/PartialPaginatorInterface.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\DataProvider;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/AbstractPaginator.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\Orm;
15 15
 
Please login to merge, or discard this patch.
src/Security/ExpressionLanguage.php 1 patch
Spacing   +3 added lines, -3 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\Security;
15 15
 
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
     {
30 30
         parent::registerFunctions();
31 31
 
32
-        $this->register('is_granted', function ($attributes, $object = 'null') {
32
+        $this->register('is_granted', function($attributes, $object = 'null') {
33 33
             return sprintf('$auth_checker->isGranted(%s, %s)', $attributes, $object);
34
-        }, function (array $variables, $attributes, $object = null) {
34
+        }, function(array $variables, $attributes, $object = null) {
35 35
             return $variables['auth_checker']->isGranted($attributes, $object);
36 36
         });
37 37
     }
Please login to merge, or discard this patch.