Completed
Push — master ( 3bef1d...04eb0b )
by Tim
05:17
created
Classes/Service/Url/CoolUri.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
  * CoolUri.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\Url;
9 9
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function coolUri($xml, $value)
61 61
     {
62
-        $alias = $this->getIndexBase((int) $value);
62
+        $alias = $this->getIndexBase((int)$value);
63 63
         $alias = Functions::URLize($alias);
64 64
         $alias = Functions::sanitize_title_with_dashes($alias);
65 65
 
Please login to merge, or discard this patch.
Classes/Service/Url/AbstractUrl.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
  * AbstractUrl.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\Url;
9 9
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     protected function getIndexBase($indexUid)
37 37
     {
38 38
         $indexRepository = HelperUtility::create(IndexRepository::class);
39
-        $index = $indexRepository->findByUid((int) $indexUid);
39
+        $index = $indexRepository->findByUid((int)$indexUid);
40 40
         if (!($index instanceof Index)) {
41 41
             return 'idx-' . $indexUid;
42 42
         }
Please login to merge, or discard this patch.
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.