Completed
Push — master ( 19c1cc...9a2a74 )
by Tim
22s
created
Classes/Updates/CalMigrationUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
51 51
         $dbSchema = $connection->createSchemaManager()->introspectSchema();
52 52
 
53
-        $tableNames = array_map(static function ($table) {
53
+        $tableNames = array_map(static function($table) {
54 54
             return $table->getName();
55 55
         }, $dbSchema->getTables());
56 56
 
Please login to merge, or discard this patch.
Classes/Domain/Repository/ConfigurationRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * Find by Index UIDs.
16 16
      */
17
-    public function findByUids(array $uids): array|QueryResultInterface
17
+    public function findByUids(array $uids): array | QueryResultInterface
18 18
     {
19 19
         $query = $this->createQuery();
20 20
 
Please login to merge, or discard this patch.
Classes/Domain/Repository/AbstractRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Check the constraint and execute the query.
23 23
      */
24
-    public function matchAndExecute(QueryInterface $query, array $constraints = []): array|QueryResultInterface
24
+    public function matchAndExecute(QueryInterface $query, array $constraints = []): array | QueryResultInterface
25 25
     {
26 26
         if (!empty($constraints)) {
27 27
             $query->matching($query->logicalAnd(...$constraints));
Please login to merge, or discard this patch.
Classes/Service/TimeTable/TimeTimeTable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         switch ($configuration->getEndDateDynamic()) {
59 59
             case ConfigurationInterface::END_DYNAMIC_1_DAY:
60
-                $callback = static function ($entry) {
60
+                $callback = static function($entry) {
61 61
                     if ($entry['start_date'] instanceof \DateTime) {
62 62
                         $entry['end_date'] = clone $entry['start_date'];
63 63
                         $entry['end_date']->modify('+1 day');
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                 };
68 68
                 break;
69 69
             case ConfigurationInterface::END_DYNAMIC_1_WEEK:
70
-                $callback = static function ($entry) {
70
+                $callback = static function($entry) {
71 71
                     if ($entry['start_date'] instanceof \DateTime) {
72 72
                         $entry['end_date'] = clone $entry['start_date'];
73 73
                         $entry['end_date']->modify('+1 week');
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                 };
78 78
                 break;
79 79
             case ConfigurationInterface::END_DYNAMIC_END_WEEK:
80
-                $callback = static function ($entry) {
80
+                $callback = static function($entry) {
81 81
                     if ($entry['start_date'] instanceof \DateTime) {
82 82
                         $entry['end_date'] = clone $entry['start_date'];
83 83
                         $entry['end_date']->modify('monday next week');
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 };
89 89
                 break;
90 90
             case ConfigurationInterface::END_DYNAMIC_END_MONTH:
91
-                $callback = static function ($entry) {
91
+                $callback = static function($entry) {
92 92
                     if ($entry['start_date'] instanceof \DateTime) {
93 93
                         $entry['end_date'] = clone $entry['start_date'];
94 94
                         $entry['end_date']->modify('last day of this month');
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                 };
99 99
                 break;
100 100
             case ConfigurationInterface::END_DYNAMIC_END_YEAR:
101
-                $callback = static function ($entry) {
101
+                $callback = static function($entry) {
102 102
                     if ($entry['start_date'] instanceof \DateTime) {
103 103
                         $entry['end_date'] = clone $entry['start_date'];
104 104
                         $entry['end_date']->setDate((int)$entry['end_date']->format('Y'), 12, 31);
Please login to merge, or discard this patch.
Classes/Service/RecurrenceService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         string $recurrence,
59 59
         string $day,
60 60
         string $modify
61
-    ): \DateTime|false {
61
+    ): \DateTime | false {
62 62
         // clone and reset and move to next month
63 63
         $dateTime = clone $date;
64 64
         $dateTime->setDate((int)$dateTime->format('Y'), (int)$dateTime->format('m'), 1);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         string $direction,
158 158
         array $validDays,
159 159
         int $position = 1
160
-    ): \DateTime|false {
160
+    ): \DateTime | false {
161 161
         if (self::DIRECTION_UP === $direction) {
162 162
             $dateTime->setDate((int)$dateTime->format('Y'), (int)$dateTime->format('m'), 1);
163 163
             $modify = '+1 day';
Please login to merge, or discard this patch.
Classes/ViewHelpers/DateTime/ModifyViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Modify the given datetime by the string modification.
27 27
      */
28
-    public function render(): \DateTime|false
28
+    public function render(): \DateTime | false
29 29
     {
30 30
         $dateTime = $this->arguments['dateTime'];
31 31
 
Please login to merge, or discard this patch.
Classes/EventListener/BookingCountriesListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Get country selection.
25 25
      */
26
-    protected function getCountrySelection(): array|QueryResultInterface
26
+    protected function getCountrySelection(): array | QueryResultInterface
27 27
     {
28 28
         if (!ExtensionManagementUtility::isLoaded('static_info_tables')) {
29 29
             return [];
Please login to merge, or discard this patch.
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.