Completed
Pull Request — master (#504)
by Antoine
03:21
created
src/Util/RequestParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
         $source = preg_replace_callback(
57 57
             '/(^|(?<=&))[^=[&]+/',
58
-            function ($key) {
58
+            function($key) {
59 59
                 return bin2hex(urldecode($key[0]));
60 60
             },
61 61
             $source
Please login to merge, or discard this patch.
src/JsonLd/Serializer/ItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $this->contextBuilder = $contextBuilder;
57 57
         $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();
58 58
 
59
-        $this->setCircularReferenceHandler(function ($object) {
59
+        $this->setCircularReferenceHandler(function($object) {
60 60
             return $this->iriConverter->getIriFromItem($object);
61 61
         });
62 62
     }
Please login to merge, or discard this patch.
src/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                     ->useAttributeAsKey('format')
41 41
                     ->beforeNormalization()
42 42
                         ->ifArray()
43
-                        ->then(function ($v) {
43
+                        ->then(function($v) {
44 44
                             foreach ($v as $format => $value) {
45 45
                                 if (isset($value['mime_types'])) {
46 46
                                     continue;
Please login to merge, or discard this patch.
src/Action/PutItemAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function __invoke(Request $request, $id)
50 50
     {
51
-        list($resourceClass, , $operationName, $format) = $this->extractAttributes($request);
51
+        list($resourceClass,, $operationName, $format) = $this->extractAttributes($request);
52 52
         $data = $this->getItem($this->itemDataProvider, $resourceClass, $operationName, $id);
53 53
 
54 54
         $context = ['object_to_populate' => $data, 'resource_class' => $resourceClass, 'item_operation_name' => $operationName];
Please login to merge, or discard this patch.
src/Action/PostCollectionAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function __invoke(Request $request)
44 44
     {
45
-        list($resourceClass, $operationName, , $format) = $this->extractAttributes($request);
45
+        list($resourceClass, $operationName,, $format) = $this->extractAttributes($request);
46 46
         $context = ['resource_class' => $resourceClass, 'collection_operation_name' => $operationName];
47 47
 
48 48
         return $this->serializer->deserialize($request->getContent(), $resourceClass, $format, $context);
Please login to merge, or discard this patch.
src/Action/GetItemAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     public function __invoke(Request $request, $id)
47 47
     {
48
-        list($resourceClass, , $operationName) = $this->extractAttributes($request);
48
+        list($resourceClass,, $operationName) = $this->extractAttributes($request);
49 49
 
50 50
         return $this->getItem($this->itemDataProvider, $resourceClass, $operationName, $id);
51 51
     }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Extension/PaginationExtension.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * Determines whether the Paginator should fetch join collections, if the root entity uses composite identifiers it should not
122
-	 * @see https://github.com/doctrine/doctrine2/issues/2910
122
+     * @see https://github.com/doctrine/doctrine2/issues/2910
123 123
      *
124 124
      * @param QueryBuilder $queryBuilder
125 125
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
         /**
173 173
          * When using composite identifiers pagination will need Output walkers
174 174
          */
175
-        if(QueryChecker::hasRootEntityWithCompositeIdentifier($queryBuilder, $this->managerRegistry)) {
175
+        if (QueryChecker::hasRootEntityWithCompositeIdentifier($queryBuilder, $this->managerRegistry)) {
176 176
             return true; 
177 177
         }
178 178
 
Please login to merge, or discard this patch.