Completed
Push — master ( b109e0...19c1cc )
by Tim
45s queued 13s
created
Classes/EventListener/PreviewRenderingEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $actions = $this->flexFormService->get('switchableControllerActions', 'main');
66 66
         $parts = GeneralUtility::trimExplode(';', $actions, true);
67
-        $parts = array_map(static function ($element) {
67
+        $parts = array_map(static function($element) {
68 68
             $split = explode('->', $element);
69 69
 
70 70
             return ucfirst($split[1]);
Please login to merge, or discard this patch.
Classes/Command/CleanupCommandController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,12 +141,12 @@
 block discarded – undo
141 141
     protected function processEvent(Repository $repository, AbstractEntity $model, string $mode): void
142 142
     {
143 143
         // define the function for the delete-mode.
144
-        $delete = static function ($repository, $model) {
144
+        $delete = static function($repository, $model) {
145 145
             $repository->remove($model);
146 146
         };
147 147
 
148 148
         // define the function for the hide-mode.
149
-        $hide = static function ($repository, $model) {
149
+        $hide = static function($repository, $model) {
150 150
             $model->setHidden(true);
151 151
             $repository->update($model);
152 152
         };
Please login to merge, or discard this patch.
Classes/Utility/DateTimeUtility.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -117,9 +117,9 @@  discard block
 block discarded – undo
117 117
      * Get a normalize date time object.
118 118
      */
119 119
     public static function normalizeDateTime(
120
-        int|null $day = null,
121
-        int|null $month = null,
122
-        int|null $year = null
120
+        int | null $day = null,
121
+        int | null $month = null,
122
+        int | null $year = null
123 123
     ): \DateTime {
124 124
         $date = self::getNow();
125 125
         // Check if this date should handle always in UTC
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * Reset the DateTime.
171 171
      */
172
-    public static function resetTime(string|\DateTimeInterface $dateTime = null): \DateTime
172
+    public static function resetTime(string | \DateTimeInterface $dateTime = null): \DateTime
173 173
     {
174 174
         $dateTime = self::normalizeDateTimeSingle($dateTime);
175 175
         $dateTime->setTime(0, 0);
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      * @throws \Exception
184 184
      */
185 185
     public static function normalizeDateTimeSingle(
186
-        int|string|\DateTimeInterface|null $dateInformation = null,
186
+        int | string | \DateTimeInterface | null $dateInformation = null,
187 187
         \DateTimeZone $timezone = null
188 188
     ): \DateTime {
189 189
         $timezone = $timezone ?? self::getTimeZone();
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      *
233 233
      * @see resetTime()
234 234
      */
235
-    public static function getDayStart(string|\DateTimeInterface $dateInformation): \DateTime
235
+    public static function getDayStart(string | \DateTimeInterface $dateInformation): \DateTime
236 236
     {
237 237
         return self::resetTime($dateInformation);
238 238
     }
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * Get the End of the given day.
242 242
      */
243
-    public static function getDayEnd(string|\DateTimeInterface $dateInformation): \DateTime
243
+    public static function getDayEnd(string | \DateTimeInterface $dateInformation): \DateTime
244 244
     {
245 245
         $dateTime = self::resetTime($dateInformation);
246 246
         $dateTime->setTime(23, 59, 59);
Please login to merge, or discard this patch.
Classes/Utility/ConfigurationUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Configuration cache.
17 17
      */
18
-    protected static ?array $configuration = null;
18
+    protected static ? array $configuration = null;
19 19
 
20 20
     /**
21 21
      * Get the given configuration value.
Please login to merge, or discard this patch.
Classes/Utility/ExtensionConfigurationUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Configuration cache.
17 17
      */
18
-    protected static ?array $configuration = null;
18
+    protected static ? array $configuration = null;
19 19
 
20 20
     /**
21 21
      * Get the given configuration value.
Please login to merge, or discard this patch.
Classes/Utility/HelperUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Get the query for the given class name oder object.
30 30
      */
31
-    public static function getQuery(string|object $objectName): QueryInterface
31
+    public static function getQuery(string | object $objectName): QueryInterface
32 32
     {
33 33
         $objectName = is_object($objectName) ? get_class($objectName) : $objectName;
34 34
         /** @var PersistenceManagerInterface $manager */
Please login to merge, or discard this patch.