Completed
Pull Request — master (#235)
by
unknown
02:42
created
Classes/Service/Url/AbstractUrl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     protected function getIndexBase($indexUid)
35 35
     {
36 36
         $indexRepository = HelperUtility::create(IndexRepository::class);
37
-        $index = $indexRepository->findByUid((int) $indexUid);
37
+        $index = $indexRepository->findByUid((int)$indexUid);
38 38
         if (!($index instanceof Index)) {
39 39
             return 'idx-' . $indexUid;
40 40
         }
Please login to merge, or discard this patch.
Classes/Service/Url/RealUrl.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 WHERE tx_calendarize_domain_model_index.uid IS NULL AND tx_realurl_uniqalias.tablename=\'tx_calendarize_domain_model_index\'';
63 63
         $res = $databaseConnection->admin_query($selectInvalidItems);
64 64
         while ($row = $databaseConnection->sql_fetch_assoc($res)) {
65
-            $removeIds[] = (int) $row['uid'];
65
+            $removeIds[] = (int)$row['uid'];
66 66
         }
67 67
         if (empty($removeIds)) {
68 68
             return;
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             )
91 91
         );
92 92
         if (isset($row['value_id'])) {
93
-            return (int) $row['value_id'];
93
+            return (int)$row['value_id'];
94 94
         }
95 95
 
96 96
         $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/Service/Url/CoolUri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     public function coolUri($xml, $value)
59 59
     {
60
-        $alias = $this->getIndexBase((int) $value);
60
+        $alias = $this->getIndexBase((int)$value);
61 61
         $alias = Functions::URLize($alias);
62 62
         $alias = Functions::sanitize_title_with_dashes($alias);
63 63
 
Please login to merge, or discard this patch.
Classes/Service/CalDav/BackendTypo3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
         $result = [
218 218
             200 => [], // Ok
219 219
             403 => [], // Forbidden
220
-            424 => [],  // Failed Dependency
220
+            424 => [], // Failed Dependency
221 221
         ];
222 222
 
223 223
         $hasError = false;
Please login to merge, or discard this patch.
Classes/Service/TimeTable/TimeTimeTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
      */
240 240
     protected function getFrequencyLimitPerItem()
241 241
     {
242
-        $maxLimit = (int) ConfigurationUtility::get('frequencyLimitPerItem');
242
+        $maxLimit = (int)ConfigurationUtility::get('frequencyLimitPerItem');
243 243
         if ($maxLimit <= 0) {
244 244
             $maxLimit = 300;
245 245
         }
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@
 block discarded – undo
287 287
      */
288 288
     public function findWeek($year, $week, $weekStart = 1)
289 289
     {
290
-        $weekStart = (int) $weekStart;
290
+        $weekStart = (int)$weekStart;
291 291
         $daysShift = DateTimeUtility::SECONDS_DAY * ($weekStart - 1);
292 292
         $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
293 293
         $timezone = DateTimeUtility::getTimeZone();
Please login to merge, or discard this patch.
Classes/Domain/Repository/EventRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
         $ids = [];
32 32
         foreach ($rows as $row) {
33
-            $ids[] = (int) $row['uid'];
33
+            $ids[] = (int)$row['uid'];
34 34
         }
35 35
 
36 36
         return $ids;
Please login to merge, or discard this patch.
Classes/Domain/Model/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function isAllDay()
187 187
     {
188
-        return (bool) $this->allDay;
188
+        return (bool)$this->allDay;
189 189
     }
190 190
 
191 191
     /**
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function setAllDay($allDay)
197 197
     {
198
-        $this->allDay = (bool) $allDay;
198
+        $this->allDay = (bool)$allDay;
199 199
     }
200 200
 
201 201
     /**
Please login to merge, or discard this patch.
Classes/LinkHandling/EventSelectionLinkHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         GeneralUtility::makeInstance(PageRenderer::class)->loadRequireJsModule('TYPO3/CMS/Recordlist/PageLinkHandler');
62 62
 
63
-        $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int) $request->getQueryParams()['expandPage'] : 0;
63
+        $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int)$request->getQueryParams()['expandPage'] : 0;
64 64
         $this->setTemporaryDbMounts();
65 65
 
66 66
         $backendUser = $this->getBackendUser();
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
         /** @var ElementBrowserPageTreeView $pageTree */
69 69
         $pageTree = GeneralUtility::makeInstance(ElementBrowserPageTreeView::class);
70 70
         $pageTree->setLinkParameterProvider($this);
71
-        $pageTree->ext_showNavTitle = (bool) $backendUser->getTSConfigVal('options.pageTree.showNavTitle');
72
-        $pageTree->ext_showPageId = (bool) $backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle');
73
-        $pageTree->ext_showPathAboveMounts = (bool) $backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts');
71
+        $pageTree->ext_showNavTitle = (bool)$backendUser->getTSConfigVal('options.pageTree.showNavTitle');
72
+        $pageTree->ext_showPageId = (bool)$backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle');
73
+        $pageTree->ext_showPathAboveMounts = (bool)$backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts');
74 74
         $pageTree->addField('nav_title');
75 75
 
76 76
         $this->view->assign('temporaryTreeMountCancelLink', $this->getTemporaryTreeMountCancelNotice());
Please login to merge, or discard this patch.