Passed
Push — feature/uploadable ( 679758...63d03b )
by Daniel
05:40
created
src/Entity/Component/Collection.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
     /**
41 41
      * @ORM\Column(type="json", nullable=true)
42 42
      */
43
-    private ?array $defaultQueryParameters;
43
+    private ? array $defaultQueryParameters;
44 44
 
45 45
     /**
46 46
      * @ApiProperty(writable=false)
Please login to merge, or discard this patch.
src/Entity/Utility/UiTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
     public ?string $uiComponent = null;
27 27
 
28 28
     /** @ORM\Column(type="json", nullable=true) */
29
-    public ?array $uiClassNames = null;
29
+    public ? array $uiClassNames = null;
30 30
 }
Please login to merge, or discard this patch.
src/Command/UserCreateCommand.php 5 patches
Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,7 +130,4 @@
 block discarded – undo
130 130
                 throw new Exception($label . ' can not be empty');
131 131
             }
132 132
 
133
-            return $string;
134
-        };
135
-    }
136
-}
133
+            return $string
137 134
\ No newline at end of file
Please login to merge, or discard this patch.
src/Factory/Mailer/User/AbstractUserEmailFactory.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,7 @@
 block discarded – undo
138 138
         $request = $requestStack->getMasterRequest();
139 139
 
140 140
         $path = ($request && $this->redirectPathQueryKey) ?
141
-            $request->query->get($this->redirectPathQueryKey, $this->defaultRedirectPath) :
142
-            $this->defaultRedirectPath;
141
+            $request->query->get($this->redirectPathQueryKey, $this->defaultRedirectPath) : $this->defaultRedirectPath;
143 142
 
144 143
         if (null === $path) {
145 144
             throw new UnexpectedValueException(sprintf('The querystring key `%s` could not be found in the request to generate a token URL', $this->redirectPathQueryKey));
Please login to merge, or discard this patch.
src/Annotation/Publishable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,5 +30,5 @@
 block discarded – undo
30 30
     /**
31 31
      * @var string[]
32 32
      */
33
-    public ?array $validationGroups = null;
33
+    public ? array $validationGroups = null;
34 34
 }
Please login to merge, or discard this patch.
src/EventListener/Doctrine/TimestampedListener.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
             $timestamped,
85 85
             $config->createdAtField,
86 86
             $isNew ?
87
-                new \DateTimeImmutable() :
88
-                $classMetadata->getFieldValue($timestamped, $config->createdAtField)
87
+                new \DateTimeImmutable() : $classMetadata->getFieldValue($timestamped, $config->createdAtField)
89 88
         );
90 89
         $classMetadata->setFieldValue($timestamped, $config->modifiedAtField, new \DateTime());
91 90
     }
Please login to merge, or discard this patch.
src/EventListener/Imagine/ImagineEventListener.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
     public function onStore(ImagineStoreEvent $event): void
41 41
     {
42 42
         $content = $event->binary->getContent();
43
-        [ $width, $height ] = getimagesizefromstring($content);
43
+        [$width, $height] = getimagesizefromstring($content);
44 44
         $fileSize = \strlen($content);
45 45
 
46 46
         $metadata = new ImagineCachedFileMetadata($event->filter, $event->path, $event->binary->getMimeType(), $width, $height, $fileSize);
Please login to merge, or discard this patch.
src/Event/ImagineRemoveEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
  */
21 21
 class ImagineRemoveEvent extends Event
22 22
 {
23
-    public ?array $paths;
24
-    public ?array $filters;
23
+    public ? array $paths;
24
+    public ? array $filters;
25 25
 
26 26
     public function __construct(?array $paths, ?array $filters)
27 27
     {
Please login to merge, or discard this patch.
src/Factory/Uploadable/MediaObjectFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                 $mediaObject->width = (int) $xmlattributes->width;
48 48
                 $mediaObject->height = (int) $xmlattributes->height;
49 49
             } else {
50
-                [ $mediaObject->width, $mediaObject->height ] = @getimagesize($file);
50
+                [$mediaObject->width, $mediaObject->height] = @getimagesize($file);
51 51
             }
52 52
         }
53 53
 
Please login to merge, or discard this patch.