Passed
Push — main ( a33f85...42eea9 )
by Daniel
05:30
created
src/ApiPlatform/Serializer/VersionedDocumentationNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
  */
25 25
 class VersionedDocumentationNormalizer implements NormalizerInterface
26 26
 {
27
-    private NormalizerInterface|DocumentationNormalizer $decorated;
27
+    private NormalizerInterface | DocumentationNormalizer $decorated;
28 28
 
29
-    public function __construct(NormalizerInterface|DocumentationNormalizer $decorated)
29
+    public function __construct(NormalizerInterface | DocumentationNormalizer $decorated)
30 30
     {
31 31
         $this->decorated = $decorated;
32 32
     }
Please login to merge, or discard this patch.
src/EventListener/Api/CollectionApiEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             $uriVariables = $this->getOperationUriVariables($getCollectionOperation, $parameters, $resourceClass);
134 134
             // Operation $operation, array $uriVariables = [], array $context = []
135 135
             $collectionData = $this->provider->provide($getCollectionOperation, $uriVariables, $collectionContext);
136
-        } catch (InvalidIdentifierException|LegacyInvalidIdentifierException $e) {
136
+        } catch (InvalidIdentifierException | LegacyInvalidIdentifierException $e) {
137 137
             throw new NotFoundHttpException('Invalid identifier value or configuration.', $e);
138 138
         }
139 139
 
Please login to merge, or discard this patch.
src/EventListener/Doctrine/PropagateUpdatesListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 class PropagateUpdatesListener
40 40
 {
41 41
     private PropertyAccessor $propertyAccessor;
42
-    private ObjectRepository|EntityRepository $collectionRepository;
42
+    private ObjectRepository | EntityRepository $collectionRepository;
43 43
     private \SplObjectStorage $updatedResources;
44 44
     private array $pageDataPropertiesChanged = [];
45 45
     private array $updatedCollectionClassToIriMapping = [];
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
         try {
203 203
             $resourceClass = $this->resourceClassResolver->getResourceClass($resource);
204
-        } catch (InvalidArgumentException|LegacyInvalidArgumentException) {
204
+        } catch (InvalidArgumentException | LegacyInvalidArgumentException) {
205 205
             return;
206 206
         }
207 207
 
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             try {
211 211
                 $collectionIri = $this->iriConverter->getIriFromResource($resource, UrlGeneratorInterface::ABS_PATH, (new GetCollection())->withClass($resourceClass));
212 212
                 $this->updatedCollectionClassToIriMapping[$resourceClass] = $collectionIri;
213
-            } catch (InvalidArgumentException|LegacyInvalidArgumentException) {
213
+            } catch (InvalidArgumentException | LegacyInvalidArgumentException) {
214 214
             }
215 215
         }
216 216
 
Please login to merge, or discard this patch.
src/OpenApi/OpenApiFactory.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
                 foreach ($metadata as $metadatum) {
49 49
                     $shortNames[] = $metadatum->getShortName();
50 50
                 }
51
-            } catch (LegacyResourceClassNotFoundException|ResourceClassNotFoundException $exception) {
51
+            } catch (LegacyResourceClassNotFoundException | ResourceClassNotFoundException $exception) {
52 52
                 // the component may not be enabled
53 53
             }
54 54
         }
Please login to merge, or discard this patch.
src/RamseyUuid/UuidUriVariableTransformer/UuidUriVariableTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         try {
36 36
             return $this->decorated->transform($value, $types, $context);
37
-        } catch (InvalidUriVariableException|LegacyInvalidUriVariableException $exception) {
37
+        } catch (InvalidUriVariableException | LegacyInvalidUriVariableException $exception) {
38 38
             return $value;
39 39
         }
40 40
     }
Please login to merge, or discard this patch.