Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#433)
by Sebastian
04:15
created
Classes/Plugin/Navigation.php 1 patch
Upper-Lower-Casing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@  discard block
 block discarded – undo
44 44
                 $conf = [
45 45
                     'useCacheHash' => 1,
46 46
                     'parameter' => $this->conf['targetPid'],
47
-                    'title' => $this->pi_getLL('linkToList', '', true)
47
+                    'title' => $this->pi_getLL('linkToList', '', TRUE)
48 48
                 ];
49
-                return $this->cObj->typoLink($this->pi_getLL('linkToList', '', true), $conf);
49
+                return $this->cObj->typoLink($this->pi_getLL('linkToList', '', TRUE), $conf);
50 50
             }
51 51
         }
52 52
         return '';
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         }
75 75
         // Add page selector.
76 76
         $uniqId = uniqid(Helper::getUnqualifiedClassName(get_class($this)) . '-');
77
-        $output .= '<label for="' . $uniqId . '">' . $this->pi_getLL('selectPage', '', true) . '</label><select id="' . $uniqId . '" name="' . $this->prefixId . '[page]" onchange="javascript:this.form.submit();"' . ($this->doc->numPages < 1 ? ' disabled="disabled"' : '') . '>';
77
+        $output .= '<label for="' . $uniqId . '">' . $this->pi_getLL('selectPage', '', TRUE) . '</label><select id="' . $uniqId . '" name="' . $this->prefixId . '[page]" onchange="javascript:this.form.submit();"' . ($this->doc->numPages < 1 ? ' disabled="disabled"' : '') . '>';
78 78
         for ($i = 1; $i <= $this->doc->numPages; $i++) {
79 79
             $output .= '<option value="' . $i . '"' . ($this->piVars['page'] == $i ? ' selected="selected"' : '') . '>[' . $i . ']' . ($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$i]]['orderlabel'] ? ' - ' . htmlspecialchars($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$i]]['orderlabel']) : '') . '</option>';
80 80
         }
@@ -96,10 +96,10 @@  discard block
 block discarded – undo
96 96
     {
97 97
         $this->init($conf);
98 98
         // Turn cache on.
99
-        $this->setCache(true);
99
+        $this->setCache(TRUE);
100 100
         // Load current document.
101 101
         $this->loadDocument();
102
-        if ($this->doc === null) {
102
+        if ($this->doc === NULL) {
103 103
             // Quit without doing anything if required variables are not set.
104 104
             return $content;
105 105
         } else {
@@ -132,67 +132,67 @@  discard block
 block discarded – undo
132 132
         $pageSteps = $this->conf['pageStep'] * ($this->piVars['double'] + 1);
133 133
         // Link to first page.
134 134
         if ($this->piVars['page'] > 1) {
135
-            $markerArray['###FIRST###'] = $this->makeLink($this->pi_getLL('firstPage', '', true), ['page' => 1]);
135
+            $markerArray['###FIRST###'] = $this->makeLink($this->pi_getLL('firstPage', '', TRUE), ['page' => 1]);
136 136
         } else {
137
-            $markerArray['###FIRST###'] = '<span>' . $this->pi_getLL('firstPage', '', true) . '</span>';
137
+            $markerArray['###FIRST###'] = '<span>' . $this->pi_getLL('firstPage', '', TRUE) . '</span>';
138 138
         }
139 139
         // Link back X pages.
140 140
         if ($this->piVars['page'] > $pageSteps) {
141
-            $markerArray['###BACK###'] = $this->makeLink(sprintf($this->pi_getLL('backXPages', '', true), $pageSteps), ['page' => $this->piVars['page'] - $pageSteps]);
141
+            $markerArray['###BACK###'] = $this->makeLink(sprintf($this->pi_getLL('backXPages', '', TRUE), $pageSteps), ['page' => $this->piVars['page'] - $pageSteps]);
142 142
         } else {
143
-            $markerArray['###BACK###'] = '<span>' . sprintf($this->pi_getLL('backXPages', '', true), $pageSteps) . '</span>';
143
+            $markerArray['###BACK###'] = '<span>' . sprintf($this->pi_getLL('backXPages', '', TRUE), $pageSteps) . '</span>';
144 144
         }
145 145
         // Link to previous page.
146 146
         if ($this->piVars['page'] > (1 + $this->piVars['double'])) {
147
-            $markerArray['###PREVIOUS###'] = $this->makeLink($this->pi_getLL('prevPage', '', true), ['page' => $this->piVars['page'] - (1 + $this->piVars['double'])]);
147
+            $markerArray['###PREVIOUS###'] = $this->makeLink($this->pi_getLL('prevPage', '', TRUE), ['page' => $this->piVars['page'] - (1 + $this->piVars['double'])]);
148 148
         } else {
149
-            $markerArray['###PREVIOUS###'] = '<span>' . $this->pi_getLL('prevPage', '', true) . '</span>';
149
+            $markerArray['###PREVIOUS###'] = '<span>' . $this->pi_getLL('prevPage', '', TRUE) . '</span>';
150 150
         }
151 151
         // Link to next page.
152 152
         if ($this->piVars['page'] < ($this->doc->numPages - $this->piVars['double'])) {
153
-            $markerArray['###NEXT###'] = $this->makeLink($this->pi_getLL('nextPage', '', true), ['page' => $this->piVars['page'] + (1 + $this->piVars['double'])]);
153
+            $markerArray['###NEXT###'] = $this->makeLink($this->pi_getLL('nextPage', '', TRUE), ['page' => $this->piVars['page'] + (1 + $this->piVars['double'])]);
154 154
         } else {
155
-            $markerArray['###NEXT###'] = '<span>' . $this->pi_getLL('nextPage', '', true) . '</span>';
155
+            $markerArray['###NEXT###'] = '<span>' . $this->pi_getLL('nextPage', '', TRUE) . '</span>';
156 156
         }
157 157
         // Link forward X pages.
158 158
         if ($this->piVars['page'] <= ($this->doc->numPages - $pageSteps)) {
159
-            $markerArray['###FORWARD###'] = $this->makeLink(sprintf($this->pi_getLL('forwardXPages', '', true), $pageSteps), ['page' => $this->piVars['page'] + $pageSteps]);
159
+            $markerArray['###FORWARD###'] = $this->makeLink(sprintf($this->pi_getLL('forwardXPages', '', TRUE), $pageSteps), ['page' => $this->piVars['page'] + $pageSteps]);
160 160
         } else {
161
-            $markerArray['###FORWARD###'] = '<span>' . sprintf($this->pi_getLL('forwardXPages', '', true), $pageSteps) . '</span>';
161
+            $markerArray['###FORWARD###'] = '<span>' . sprintf($this->pi_getLL('forwardXPages', '', TRUE), $pageSteps) . '</span>';
162 162
         }
163 163
         // Link to last page.
164 164
         if ($this->piVars['page'] < $this->doc->numPages) {
165
-            $markerArray['###LAST###'] = $this->makeLink($this->pi_getLL('lastPage', '', true), ['page' => $this->doc->numPages]);
165
+            $markerArray['###LAST###'] = $this->makeLink($this->pi_getLL('lastPage', '', TRUE), ['page' => $this->doc->numPages]);
166 166
         } else {
167
-            $markerArray['###LAST###'] = '<span>' . $this->pi_getLL('lastPage', '', true) . '</span>';
167
+            $markerArray['###LAST###'] = '<span>' . $this->pi_getLL('lastPage', '', TRUE) . '</span>';
168 168
         }
169 169
         // Add double page switcher.
170 170
         if ($this->doc->numPages > 0) {
171 171
             if (!$this->piVars['double']) {
172
-                $markerArray['###DOUBLEPAGE###'] = $this->makeLink($this->pi_getLL('doublePageOn', '', true), ['double' => 1], 'class="tx-dlf-navigation-doubleOn"');
172
+                $markerArray['###DOUBLEPAGE###'] = $this->makeLink($this->pi_getLL('doublePageOn', '', TRUE), ['double' => 1], 'class="tx-dlf-navigation-doubleOn"');
173 173
             } else {
174
-                $markerArray['###DOUBLEPAGE###'] = $this->makeLink($this->pi_getLL('doublePageOff', '', true), ['double' => 0], 'class="tx-dlf-navigation-doubleOff"');
174
+                $markerArray['###DOUBLEPAGE###'] = $this->makeLink($this->pi_getLL('doublePageOff', '', TRUE), ['double' => 0], 'class="tx-dlf-navigation-doubleOff"');
175 175
             }
176 176
             if ($this->piVars['double'] && $this->piVars['page'] < $this->doc->numPages) {
177
-                $markerArray['###DOUBLEPAGE+1###'] = $this->makeLink($this->pi_getLL('doublePage+1', '', true), ['page' => $this->piVars['page'] + 1]);
177
+                $markerArray['###DOUBLEPAGE+1###'] = $this->makeLink($this->pi_getLL('doublePage+1', '', TRUE), ['page' => $this->piVars['page'] + 1]);
178 178
             } else {
179
-                $markerArray['###DOUBLEPAGE+1###'] = '<span>' . $this->pi_getLL('doublePage+1', '', true) . '</span>';
179
+                $markerArray['###DOUBLEPAGE+1###'] = '<span>' . $this->pi_getLL('doublePage+1', '', TRUE) . '</span>';
180 180
             }
181 181
         } else {
182
-            $markerArray['###DOUBLEPAGE###'] = '<span>' . $this->pi_getLL('doublePageOn', '', true) . '</span>';
183
-            $markerArray['###DOUBLEPAGE+1###'] = '<span>' . $this->pi_getLL('doublePage+1', '', true) . '</span>';
182
+            $markerArray['###DOUBLEPAGE###'] = '<span>' . $this->pi_getLL('doublePageOn', '', TRUE) . '</span>';
183
+            $markerArray['###DOUBLEPAGE+1###'] = '<span>' . $this->pi_getLL('doublePage+1', '', TRUE) . '</span>';
184 184
         }
185 185
         // Add page selector.
186 186
         $markerArray['###PAGESELECT###'] = $this->getPageSelector();
187 187
         // Add link to listview if applicable.
188 188
         $markerArray['###LINKLISTVIEW###'] = $this->getLinkToListview();
189 189
         // Fill some language labels if available.
190
-        $markerArray['###ZOOM_IN###'] = $this->pi_getLL('zoom-in', '', true);
191
-        $markerArray['###ZOOM_OUT###'] = $this->pi_getLL('zoom-out', '', true);
192
-        $markerArray['###ZOOM_FULLSCREEN###'] = $this->pi_getLL('zoom-fullscreen', '', true);
193
-        $markerArray['###ROTATE_LEFT###'] = $this->pi_getLL('rotate-left', '', true);
194
-        $markerArray['###ROTATE_RIGHT###'] = $this->pi_getLL('rotate-right', '', true);
195
-        $markerArray['###ROTATE_RESET###'] = $this->pi_getLL('rotate-reset', '', true);
190
+        $markerArray['###ZOOM_IN###'] = $this->pi_getLL('zoom-in', '', TRUE);
191
+        $markerArray['###ZOOM_OUT###'] = $this->pi_getLL('zoom-out', '', TRUE);
192
+        $markerArray['###ZOOM_FULLSCREEN###'] = $this->pi_getLL('zoom-fullscreen', '', TRUE);
193
+        $markerArray['###ROTATE_LEFT###'] = $this->pi_getLL('rotate-left', '', TRUE);
194
+        $markerArray['###ROTATE_RIGHT###'] = $this->pi_getLL('rotate-right', '', TRUE);
195
+        $markerArray['###ROTATE_RESET###'] = $this->pi_getLL('rotate-reset', '', TRUE);
196 196
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
197 197
         return $this->pi_wrapInBaseClass($content);
198 198
     }
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             'useCacheHash' => 1,
222 222
             'parameter' => $GLOBALS['TSFE']->id,
223 223
             'ATagParams' => $aTagParams,
224
-            'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $overrulePIvars, '', true, false),
224
+            'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $overrulePIvars, '', TRUE, FALSE),
225 225
             'title' => $label
226 226
         ];
227 227
         return $this->cObj->typoLink($label, $conf);
Please login to merge, or discard this patch.
Classes/Plugin/Calendar.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->init($conf);
61 61
         // Load current document.
62 62
         $this->loadDocument();
63
-        if ($this->doc === null) {
63
+        if ($this->doc === NULL) {
64 64
             // Quit without doing anything if required variables are not set.
65 65
             return $content;
66 66
         }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
             'parameter' => $this->conf['targetPid'],
216 216
             'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->parentId),
217 217
         ];
218
-        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf);
218
+        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf);
219 219
         // Link to current year.
220 220
         $linkConf = [
221 221
             'useCacheHash' => 1,
@@ -235,9 +235,9 @@  discard block
 block discarded – undo
235 235
         }
236 236
         $this->template = $this->templateService->substituteSubpart($this->template, '###SINGLEDAY###', $subPartContentList);
237 237
         if (count($allIssues) < 6) {
238
-            $listViewActive = true;
238
+            $listViewActive = TRUE;
239 239
         } else {
240
-            $listViewActive = false;
240
+            $listViewActive = FALSE;
241 241
         }
242 242
         $markerArray = [
243 243
             '###CALENDARVIEWACTIVE###' => $listViewActive ? '' : 'active',
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         $this->init($conf);
267 267
         // Load current document.
268 268
         $this->loadDocument();
269
-        if ($this->doc === null) {
269
+        if ($this->doc === NULL) {
270 270
             // Quit without doing anything if required variables are not set.
271 271
             return $content;
272 272
         }
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
             'parameter' => $this->conf['targetPid'],
324 324
             'additionalParams' => '&' . $this->prefixId . '[id]=' . $this->doc->uid,
325 325
         ];
326
-        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true) . ' ' . $this->doc->getTitle($this->doc->uid), $linkConf);
326
+        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->uid), $linkConf);
327 327
         // Fill markers.
328 328
         $markerArray = [
329 329
             '###LABEL_CHOOSE_YEAR###' => $this->pi_getLL('label.please_choose_year'),
Please login to merge, or discard this patch.
Classes/Plugin/Validator.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
     {
39 39
         $this->init($conf);
40 40
         // Disable caching for this plugin.
41
-        $this->setCache(false);
41
+        $this->setCache(FALSE);
42 42
         // Load template file.
43 43
         $this->getTemplate();
44 44
         // Load current document.
45 45
         $this->loadDocument();
46
-        if ($this->doc === null) {
46
+        if ($this->doc === NULL) {
47 47
             // Document could not be loaded.
48 48
             // Check:
49 49
             // - if document location is valid URL
Please login to merge, or discard this patch.
Classes/Plugin/Basket.php 1 patch
Upper-Lower-Casing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $this->init($conf);
46 46
         // Don't cache the output.
47
-        $this->setCache(false);
47
+        $this->setCache(FALSE);
48 48
         // Load template file.
49 49
         $this->getTemplate();
50 50
         $subpartArray['entry'] = $this->templateService->getSubpart($this->template, '###ENTRY###');
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             );
65 65
         } else {
66 66
             $GLOBALS['TSFE']->fe_user->setKey('ses', 'tx_dlf_basket', '');
67
-            $GLOBALS['TSFE']->fe_user->sesData_change = true;
67
+            $GLOBALS['TSFE']->fe_user->sesData_change = TRUE;
68 68
             $GLOBALS['TSFE']->fe_user->storeSessionData();
69 69
             $query = $GLOBALS['TYPO3_DB']->SELECTquery(
70 70
                 '*',
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         }
133 133
         // set marker
134 134
         $markerArray['###ACTION###'] = $this->pi_getPageLink($GLOBALS['TSFE']->id);
135
-        $markerArray['###LISTTITLE###'] = $this->pi_getLL('basket', '', true);
135
+        $markerArray['###LISTTITLE###'] = $this->pi_getLL('basket', '', TRUE);
136 136
         if ($basketData['doc_ids']) {
137 137
             if (is_object($basketData['doc_ids'])) {
138 138
                 $basketData['doc_ids'] = get_object_vars($basketData['doc_ids']);
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         if ($resultMail->countRow() > 0) {
160 160
             $mailForm = '<select name="tx_dlf[mail_action]">';
161
-            $mailForm .= '<option value="">' . $this->pi_getLL('chooseMail', '', true) . '</option>';
161
+            $mailForm .= '<option value="">' . $this->pi_getLL('chooseMail', '', TRUE) . '</option>';
162 162
             while ($row = $resultMail->fetch()) {
163 163
                 $mailForm .= '<option value="' . $row['uid'] . '">' . $row['name'] . ' (' . $row['mail'] . ')</option>';
164 164
             }
@@ -169,9 +169,9 @@  discard block
 block discarded – undo
169 169
         // remove action form
170 170
         $markerArray['###REMOVEACTION###'] = '
171 171
    <select name="tx_dlf[basket_action]">
172
-    <option value="">' . $this->pi_getLL('chooseAction', '', true) . '</option>
173
-    <option value="open">' . $this->pi_getLL('download', '', true) . '</option>
174
-    <option value="remove">' . $this->pi_getLL('remove', '', true) . '</option>
172
+    <option value="">' . $this->pi_getLL('chooseAction', '', TRUE) . '</option>
173
+    <option value="open">' . $this->pi_getLL('download', '', TRUE) . '</option>
174
+    <option value="remove">' . $this->pi_getLL('remove', '', TRUE) . '</option>
175 175
    </select>
176 176
    <input type="submit">
177 177
   ';
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         $printForm = '';
193 193
         if ($resultPrinter->countRow() > 0) {
194 194
             $printForm = '<select name="tx_dlf[print_action]">';
195
-            $printForm .= '<option value="">' . $this->pi_getLL('choosePrinter', '', true) . '</option>';
195
+            $printForm .= '<option value="">' . $this->pi_getLL('choosePrinter', '', TRUE) . '</option>';
196 196
             while ($row = $resultPrinter->fetch()) {
197 197
                 $printForm .= '<option value="' . $row['uid'] . '">' . $row['label'] . '</option>';
198 198
             }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         }
212 212
         // basket go to
213 213
         if ($this->conf['targetBasket'] && $this->conf['basketGoToButton'] && $this->piVars['id']) {
214
-            $label = $this->pi_getLL('goBasket', '', true);
214
+            $label = $this->pi_getLL('goBasket', '', TRUE);
215 215
             $basketConf = [
216 216
                 'parameter' => $this->conf['targetBasket'],
217 217
                 'title' => $label
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         } else {
221 221
             $markerArray['###BASKET###'] = '';
222 222
         }
223
-        $content = $this->templateService->substituteMarkerArray($this->templateService->substituteSubpart($this->template, '###ENTRY###', $entries, true), $markerArray);
223
+        $content = $this->templateService->substituteMarkerArray($this->templateService->substituteSubpart($this->template, '###ENTRY###', $entries, TRUE), $markerArray);
224 224
         return $this->pi_wrapInBaseClass($content);
225 225
     }
226 226
 
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
         // return one entry
271 271
         $markerArray['###CONTROLS###'] = $controlMark;
272 272
         $markerArray['###NUMBER###'] = $docData['record_id'];
273
-        return $this->templateService->substituteMarkerArray($this->templateService->substituteSubpart($template['entry'], '###ENTRY###', '', true), $markerArray);
273
+        return $this->templateService->substituteMarkerArray($this->templateService->substituteSubpart($template['entry'], '###ENTRY###', '', TRUE), $markerArray);
274 274
     }
275 275
 
276 276
     /**
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         } else {
292 292
             $page = intval($_piVars['startpage']);
293 293
         }
294
-        if ($page != null || $_piVars['addToBasket'] == 'list') {
294
+        if ($page != NULL || $_piVars['addToBasket'] == 'list') {
295 295
             $documentItem = [
296 296
                 'id' => intval($_piVars['id']),
297 297
                 'startpage' => intval($_piVars['startpage']),
@@ -460,21 +460,21 @@  discard block
 block discarded – undo
460 460
             $urlParams = str_replace("##endy##", $data['endY'] === "" ? "" : intval($data['endY']), $urlParams);
461 461
             $urlParams = str_replace("##rotation##", $data['rotation'] === "" ? "" : intval($data['rotation']), $urlParams);
462 462
             $downloadUrl = $this->conf['pdfgenerate'] . $urlParams;
463
-            $title = $document->getTitle($id, true);
463
+            $title = $document->getTitle($id, TRUE);
464 464
             if (empty($title)) {
465
-                $title = $this->pi_getLL('noTitle', '', true);
465
+                $title = $this->pi_getLL('noTitle', '', TRUE);
466 466
             }
467 467
             // Set page and cutout information
468 468
             $info = '';
469 469
             if ($data['startX'] != '' && $data['endX'] != '') {
470 470
                 // cutout
471
-                $info .= $this->pi_getLL('cutout', '', true) . ' ';
471
+                $info .= $this->pi_getLL('cutout', '', TRUE) . ' ';
472 472
             }
473 473
             if ($data['startpage'] == $data['endpage']) {
474 474
                 // One page
475
-                $info .= $this->pi_getLL('page', '', true) . ' ' . $data['startpage'];
475
+                $info .= $this->pi_getLL('page', '', TRUE) . ' ' . $data['startpage'];
476 476
             } else {
477
-                $info .= $this->pi_getLL('page', '', true) . ' ' . $data['startpage'] . '-' . $data['endpage'];
477
+                $info .= $this->pi_getLL('page', '', TRUE) . ' ' . $data['startpage'] . '-' . $data['endpage'];
478 478
             }
479 479
             $downloadLink = '<a href="' . $downloadUrl . '" target="_blank">' . $title . '</a> (' . $info . ')';
480 480
             if ($data['startpage'] == $data['endpage']) {
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
                 'record_id' => $document->recordId,
491 491
             ];
492 492
         }
493
-        return false;
493
+        return FALSE;
494 494
     }
495 495
 
496 496
     /**
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
521 521
 
522 522
         $allResults = $resultMail->fetchAll();
523 523
         $mailData = $allResults[0];
524
-        $mailText = $this->pi_getLL('mailBody', '', true) . "\n";
524
+        $mailText = $this->pi_getLL('mailBody', '', TRUE) . "\n";
525 525
         $numberOfPages = 0;
526 526
         $pdfUrl = $this->conf['pdfdownload'];
527 527
         // prepare links
@@ -555,7 +555,7 @@  discard block
 block discarded – undo
555 555
         // Prepare and send the message
556 556
         $mail
557 557
             // subject
558
-            ->setSubject($this->pi_getLL('mailSubject', '', true))
558
+            ->setSubject($this->pi_getLL('mailSubject', '', TRUE))
559 559
             // Set the From address with an associative array
560 560
             ->setFrom($from)
561 561
             // Set the To addresses with an associative array
Please login to merge, or discard this patch.
Classes/Plugin/Tools/AnnotationTool.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         }
54 54
         // Load current document.
55 55
         $this->loadDocument();
56
-        if ($this->doc === null || $this->doc->numPages < 1) {
56
+        if ($this->doc === NULL || $this->doc->numPages < 1) {
57 57
             // Quit without doing anything if required variables are not set.
58 58
             return $content;
59 59
         } else {
@@ -74,13 +74,13 @@  discard block
 block discarded – undo
74 74
         // Load template file.
75 75
         $this->getTemplate();
76 76
         $annotationContainers = $this->doc->physicalStructureInfo[$this->doc->physicalStructure[$this->piVars['page']]]['annotationContainers'];
77
-        if ($annotationContainers != null && sizeof($annotationContainers) > 0) {
77
+        if ($annotationContainers != NULL && sizeof($annotationContainers) > 0) {
78 78
             $markerArray['###ANNOTATION_SELECT###'] = '<a class="select switchoff" id="tx-dlf-tools-annotations" title="" data-dic="annotations-on:'
79
-                . $this->pi_getLL('annotations-on', '', true) . ';annotations-off:'
80
-                . $this->pi_getLL('annotations-off', '', true) . '">&nbsp;</a>';
79
+                . $this->pi_getLL('annotations-on', '', TRUE) . ';annotations-off:'
80
+                . $this->pi_getLL('annotations-off', '', TRUE) . '">&nbsp;</a>';
81 81
             // TODO selector for different motivations
82 82
         } else {
83
-            $markerArray['###ANNOTATION_SELECT###'] = '<span class="no-annotations">' . $this->pi_getLL('annotations-not-available', '', true) . '</span>';
83
+            $markerArray['###ANNOTATION_SELECT###'] = '<span class="no-annotations">' . $this->pi_getLL('annotations-not-available', '', TRUE) . '</span>';
84 84
         }
85 85
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
86 86
         return $this->pi_wrapInBaseClass($content);
Please login to merge, or discard this patch.
Classes/Plugin/Tools/SearchInDocumentTool.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         // Load current document.
54 54
         $this->loadDocument();
55 55
         if (
56
-            $this->doc === null
56
+            $this->doc === NULL
57 57
             || $this->doc->numPages < 1
58 58
             || empty($this->conf['fileGrpFulltext'])
59 59
             || empty($this->conf['solrcore'])
Please login to merge, or discard this patch.
Classes/Plugin/Tools/ImageManipulationTool.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         }
46 46
         // Load template file.
47 47
         $this->getTemplate();
48
-        $markerArray['###IMAGEMANIPULATION_SELECT###'] = '<span class="tx-dlf-tools-imagetools" id="tx-dlf-tools-imagetools" data-dic="imagemanipulation-on:' . $this->pi_getLL('imagemanipulation-on', '', true) . ';imagemanipulation-off:' . $this->pi_getLL('imagemanipulation-off', '', true) . ';reset:' . $this->pi_getLL('reset', '', true) . ';saturation:' . $this->pi_getLL('saturation', '', true) . ';hue:' . $this->pi_getLL('hue', '', true) . ';contrast:' . $this->pi_getLL('contrast', '', true) . ';brightness:' . $this->pi_getLL('brightness', '', true) . ';invert:' . $this->pi_getLL('invert', '', true) . '" title="' . $this->pi_getLL('no-support', '', true) . '"></span>';
48
+        $markerArray['###IMAGEMANIPULATION_SELECT###'] = '<span class="tx-dlf-tools-imagetools" id="tx-dlf-tools-imagetools" data-dic="imagemanipulation-on:' . $this->pi_getLL('imagemanipulation-on', '', TRUE) . ';imagemanipulation-off:' . $this->pi_getLL('imagemanipulation-off', '', TRUE) . ';reset:' . $this->pi_getLL('reset', '', TRUE) . ';saturation:' . $this->pi_getLL('saturation', '', TRUE) . ';hue:' . $this->pi_getLL('hue', '', TRUE) . ';contrast:' . $this->pi_getLL('contrast', '', TRUE) . ';brightness:' . $this->pi_getLL('brightness', '', TRUE) . ';invert:' . $this->pi_getLL('invert', '', TRUE) . '" title="' . $this->pi_getLL('no-support', '', TRUE) . '"></span>';
49 49
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
50 50
         return $this->pi_wrapInBaseClass($content);
51 51
     }
Please login to merge, or discard this patch.
Classes/Plugin/Tools/PdfDownloadTool.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         // Load current document.
48 48
         $this->loadDocument();
49 49
         if (
50
-            $this->doc === null
50
+            $this->doc === NULL
51 51
             || $this->doc->numPages < 1
52 52
             || empty($this->conf['fileGrpDownload'])
53 53
         ) {
Please login to merge, or discard this patch.
Classes/Plugin/Tools/ImageDownloadTool.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         // Load current document.
47 47
         $this->loadDocument();
48 48
         if (
49
-            $this->doc === null
49
+            $this->doc === NULL
50 50
             || $this->doc->numPages < 1
51 51
             || empty($this->conf['fileGrpsImageDownload'])
52 52
         ) {
Please login to merge, or discard this patch.