Completed
Push — master ( e6083d...a9cdcf )
by Tim
06:54
created
Classes/Service/Url/RealUrl.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * RealUrl.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\Url;
9 9
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 WHERE tx_calendarize_domain_model_index.uid IS NULL AND tx_realurl_uniqalias.tablename=\'tx_calendarize_domain_model_index\'';
65 65
         $res = $databaseConnection->admin_query($selectInvalidItems);
66 66
         while ($row = $databaseConnection->sql_fetch_assoc($res)) {
67
-            $removeIds[] = (int) $row['uid'];
67
+            $removeIds[] = (int)$row['uid'];
68 68
         }
69 69
         if (empty($removeIds)) {
70 70
             return;
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             )
93 93
         );
94 94
         if (isset($row['value_id'])) {
95
-            return (int) $row['value_id'];
95
+            return (int)$row['value_id'];
96 96
         }
97 97
 
98 98
         $matches = [];
@@ -117,13 +117,13 @@  discard block
 block discarded – undo
117 117
             'tablename=' . $databaseConnection->fullQuoteStr(
118 118
                 IndexerService::TABLE_NAME,
119 119
                 IndexerService::TABLE_NAME
120
-            ) . ' AND value_id=' . (int) $value
120
+            ) . ' AND value_id=' . (int)$value
121 121
         );
122 122
         if (isset($row['value_alias'])) {
123 123
             return $row['value_alias'];
124 124
         }
125 125
 
126
-        $alias = $this->getIndexBase((int) $value);
126
+        $alias = $this->getIndexBase((int)$value);
127 127
         $alias = $this->cleanUrl($alias);
128 128
 
129 129
         $databaseConnection = HelperUtility::getDatabaseConnection();
Please login to merge, or discard this patch.
Classes/Controller/BookingController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * BookingController.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Controller;
9 9
 
Please login to merge, or discard this patch.
Classes/Validation/Validator/BookingRequestValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * BookingRequestValidator.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Validation\Validator;
9 9
 
Please login to merge, or discard this patch.
Classes/Updates/NewIncludeExcludeStructureUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * NewIncludeExcludeStructureUpdate.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Updates;
9 9
 
Please login to merge, or discard this patch.
Classes/Slots/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Create the needed database fields.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
Please login to merge, or discard this patch.
Classes/Slots/CalMigration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * CalMigration.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $db = HelperUtility::getDatabaseConnection();
34 34
 
35
-        $selectWhere = 'tablenames = \'tx_cal_event\' AND uid_foreign = ' . (int) $event['uid'];
35
+        $selectWhere = 'tablenames = \'tx_cal_event\' AND uid_foreign = ' . (int)$event['uid'];
36 36
         $query = $db->SELECTquery('*', 'sys_file_reference', $selectWhere);
37 37
         $selectResults = $db->admin_query($query);
38 38
         $dbQueries[] = $query;
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         foreach ($selectResults as $selectResult) {
41 41
             $updateWhere = ' import_id = \'' . CalMigrationUpdate::IMPORT_PREFIX . $selectResult['uid'] . '\'';
42 42
             $fieldValues = [
43
-                'uid_foreign' => (int) $recordId,
43
+                'uid_foreign' => (int)$recordId,
44 44
                 'tablenames' => $table,
45 45
             ];
46 46
 
Please login to merge, or discard this patch.
Classes/Slots/BookingCountries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * BookingCountries.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
Please login to merge, or discard this patch.
Classes/Slots/EventSearch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Event search service.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 'tablenames="tt_content" AND uid_foreign=' . $additionalSlotArguments['contentRecord']['uid']
107 107
             );
108 108
             foreach ($rows as $row) {
109
-                $categoryIds[] = (int) $row['uid_local'];
109
+                $categoryIds[] = (int)$row['uid_local'];
110 110
             }
111 111
         }
112 112
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             'tablenames="' . $this->tableName . '" AND uid_local IN (' . \implode(',', $categoryIds) . ')'
130 130
         );
131 131
         foreach ($rows as $row) {
132
-            $indexIds[] = (int) $row['uid_foreign'];
132
+            $indexIds[] = (int)$row['uid_foreign'];
133 133
         }
134 134
 
135 135
         return [
Please login to merge, or discard this patch.
Classes/Slots/EventImport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Import default events.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     protected function nl2br($string)
140 140
     {
141
-        $string = \nl2br((string) $string);
141
+        $string = \nl2br((string)$string);
142 142
 
143 143
         return \str_replace('\\n', '<br />', $string);
144 144
     }
Please login to merge, or discard this patch.