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 — 2.x (#531)
by Sebastian
04:10
created
plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
  * @subpackage	tx_dlf
19 19
  * @access	public
20 20
  */
21
-class tx_dlf_toolsPdf extends tx_dlf_plugin {
21
+class tx_dlf_toolsPdf extends tx_dlf_plugin
22
+{
22 23
 
23 24
     public $scriptRelPath = 'plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php';
24 25
 
@@ -32,7 +33,8 @@  discard block
 block discarded – undo
32 33
      *
33 34
      * @return	string		The content that is displayed on the website
34 35
      */
35
-    public function main($content, $conf) {
36
+    public function main($content, $conf)
37
+    {
36 38
 
37 39
         $this->init($conf);
38 40
 
@@ -103,7 +105,8 @@  discard block
 block discarded – undo
103 105
      *
104 106
      * @return	string		Link to downloadable page
105 107
      */
106
-    protected function getPageLink() {
108
+    protected function getPageLink()
109
+    {
107 110
 
108 111
         $page1Link = '';
109 112
         $page2Link = '';
@@ -158,7 +161,8 @@  discard block
 block discarded – undo
158 161
      *
159 162
      * @return	string		Link to downloadable work
160 163
      */
161
-    protected function getWorkLink() {
164
+    protected function getWorkLink()
165
+    {
162 166
 
163 167
         $workLink = '';
164 168
 
Please login to merge, or discard this patch.
toolbox/tools/searchindocument/class.tx_dlf_toolsSearchindocument.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class tx_dlf_toolsSearchindocument extends tx_dlf_plugin {
20
+class tx_dlf_toolsSearchindocument extends tx_dlf_plugin
21
+{
21 22
 
22 23
     public $scriptRelPath = 'plugins/toolbox/tools/searchindocument/class.tx_dlf_toolsSearchindocument.php';
23 24
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
      *
32 33
      * @return	string		The content that is displayed on the website
33 34
      */
34
-    public function main($content, $conf) {
35
+    public function main($content, $conf)
36
+    {
35 37
 
36 38
         $this->init($conf);
37 39
 
@@ -108,7 +110,8 @@  discard block
 block discarded – undo
108 110
      *
109 111
      * @return void
110 112
      */
111
-    protected function addSearchInDocumentJS() {
113
+    protected function addSearchInDocumentJS()
114
+    {
112 115
         $pageRenderer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
113 116
         $pageRenderer->addJsFooterFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey).'plugins/toolbox/tools/searchindocument/tx_dlf_search_in_document.js');
114 117
     }
@@ -120,7 +123,8 @@  discard block
 block discarded – undo
120 123
      *
121 124
      * @return array with encrypted core name and hash
122 125
      */
123
-    protected function getEncryptedCoreName() {
126
+    protected function getEncryptedCoreName()
127
+    {
124 128
         // Get core name.
125 129
         $name = tx_dlf_helper::getIndexName($this->conf['solrcore'], 'tx_dlf_solrcores');
126 130
         // Encrypt core name.
Please login to merge, or discard this patch.
toolbox/tools/searchindocument/class.tx_dlf_search_in_document_eid.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class tx_dlf_search_in_document_eid extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
20
+class tx_dlf_search_in_document_eid extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
21
+{
21 22
 
22 23
     public $scriptRelPath = 'plugins/toolbox/tools/searchindocument/class.tx_dlf_search_in_document.php';
23 24
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
      *
32 33
      * @return	string JSON response of search suggestions
33 34
      */
34
-    public function main($content = '', $conf = array ()) {
35
+    public function main($content = '', $conf = array ())
36
+    {
35 37
 
36 38
         if (\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('encrypted') != '' && \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('hashed') != '') {
37 39
 
Please login to merge, or discard this patch.
plugins/toolbox/tools/imagedownload/class.tx_dlf_toolsImagedownload.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class tx_dlf_toolsImagedownload extends tx_dlf_plugin {
20
+class tx_dlf_toolsImagedownload extends tx_dlf_plugin
21
+{
21 22
 
22 23
     public $scriptRelPath = 'plugins/toolbox/tools/imagedownload/class.tx_dlf_toolsImagedownload.php';
23 24
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
      *
32 33
      * @return	string		The content that is displayed on the website
33 34
      */
34
-    public function main($content, $conf) {
35
+    public function main($content, $conf)
36
+    {
35 37
 
36 38
         $this->init($conf);
37 39
 
@@ -106,7 +108,8 @@  discard block
 block discarded – undo
106 108
      *
107 109
      * @return	string	linkt to image file with given label
108 110
      */
109
-    protected function getImage($page, $label) {
111
+    protected function getImage($page, $label)
112
+    {
110 113
 
111 114
         $image = array ();
112 115
 
Please login to merge, or discard this patch.
toolbox/tools/imagemanipulation/class.tx_dlf_toolsImagemanipulation.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class tx_dlf_toolsImagemanipulation extends tx_dlf_plugin {
20
+class tx_dlf_toolsImagemanipulation extends tx_dlf_plugin
21
+{
21 22
 
22 23
     public $scriptRelPath = 'plugins/toolbox/tools/imagemanipulation/class.tx_dlf_toolsImagemanipulation.php';
23 24
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
      *
32 33
      * @return	string		The content that is displayed on the website
33 34
      */
34
-    public function main($content, $conf) {
35
+    public function main($content, $conf)
36
+    {
35 37
 
36 38
         $this->init($conf);
37 39
 
Please login to merge, or discard this patch.
plugins/toolbox/class.tx_dlf_toolbox.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@  discard block
 block discarded – undo
17 17
  * @subpackage	tx_dlf
18 18
  * @access	public
19 19
  */
20
-class tx_dlf_toolbox extends tx_dlf_plugin {
20
+class tx_dlf_toolbox extends tx_dlf_plugin
21
+{
21 22
 
22 23
     public $scriptRelPath = 'plugins/toolbox/class.tx_dlf_toolbox.php';
23 24
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
      *
32 33
      * @return	string		The content that is displayed on the website
33 34
      */
34
-    public function main($content, $conf) {
35
+    public function main($content, $conf)
36
+    {
35 37
 
36 38
         $this->init($conf);
37 39
 
Please login to merge, or discard this patch.
plugins/metadata/class.tx_dlf_metadata.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
  * @subpackage	tx_dlf
19 19
  * @access	public
20 20
  */
21
-class tx_dlf_metadata extends tx_dlf_plugin {
21
+class tx_dlf_metadata extends tx_dlf_plugin
22
+{
22 23
 
23 24
     public $scriptRelPath = 'plugins/metadata/class.tx_dlf_metadata.php';
24 25
 
@@ -40,7 +41,8 @@  discard block
 block discarded – undo
40 41
      *
41 42
      * @return	string		The content that is displayed on the website
42 43
      */
43
-    public function main($content, $conf) {
44
+    public function main($content, $conf)
45
+    {
44 46
 
45 47
         $this->init($conf);
46 48
 
@@ -190,7 +192,8 @@  discard block
 block discarded – undo
190 192
      *
191 193
      * @return	string		The metadata array ready for output
192 194
      */
193
-    protected function printMetadata(array $metadataArray) {
195
+    protected function printMetadata(array $metadataArray)
196
+    {
194 197
 
195 198
         // Load template file.
196 199
         if (!empty($this->conf['templateFile'])) {
Please login to merge, or discard this patch.
plugins/newspaper/class.tx_dlf_newspaper.php 1 patch
Braces   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
  * @subpackage	tx_dlf
19 19
  * @access	public
20 20
  */
21
-class tx_dlf_newspaper extends tx_dlf_plugin {
21
+class tx_dlf_newspaper extends tx_dlf_plugin
22
+{
22 23
 
23 24
     public $extKey = 'dlf';
24 25
 
@@ -36,7 +37,8 @@  discard block
 block discarded – undo
36 37
      *
37 38
      * @return	string		The content that is displayed on the website
38 39
      */
39
-    public function main($content, $conf) {
40
+    public function main($content, $conf)
41
+    {
40 42
 
41 43
         // Nothing to do here.
42 44
         return $content;
@@ -53,7 +55,8 @@  discard block
 block discarded – undo
53 55
      *
54 56
      * @return	string		The content that is displayed on the website
55 57
      */
56
-    public function calendar($content, $conf) {
58
+    public function calendar($content, $conf)
59
+    {
57 60
 
58 61
         $this->init($conf);
59 62
 
@@ -210,7 +213,8 @@  discard block
 block discarded – undo
210 213
      * @param int $firstMonth - January - 1, February - 2, ..., December - 12
211 214
      * @param int $lastMonth - January - 1, February - 2, ..., December - 12
212 215
      */
213
-    private function getCalendarYear($calendarIssues, $year, $firstMonth = 1, $lastMonth = 12) {
216
+    private function getCalendarYear($calendarIssues, $year, $firstMonth = 1, $lastMonth = 12)
217
+    {
214 218
 
215 219
         // Get subpart templates.
216 220
         $subparts['list'] = $this->cObj->getSubpart($this->template, '###ISSUELIST###');
@@ -370,7 +374,8 @@  discard block
 block discarded – undo
370 374
      *
371 375
      * @return	string		The content that is displayed on the website
372 376
      */
373
-    public function years($content, $conf) {
377
+    public function years($content, $conf)
378
+    {
374 379
 
375 380
         $this->init($conf);
376 381
 
Please login to merge, or discard this patch.
plugins/pagegrid/class.tx_dlf_pagegrid.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
  * @subpackage	tx_dlf
19 19
  * @access	public
20 20
  */
21
-class tx_dlf_pagegrid extends tx_dlf_plugin {
21
+class tx_dlf_pagegrid extends tx_dlf_plugin
22
+{
22 23
 
23 24
     public $scriptRelPath = 'plugins/pagegrid/class.tx_dlf_pagegrid.php';
24 25
 
@@ -32,7 +33,8 @@  discard block
 block discarded – undo
32 33
      *
33 34
      * @return	string		The rendered entry ready for output
34 35
      */
35
-    protected function getEntry($number, $template) {
36
+    protected function getEntry($number, $template)
37
+    {
36 38
 
37 39
         // Set current page if applicable.
38 40
         if (!empty($this->piVars['page']) && $this->piVars['page'] == $number) {
@@ -97,7 +99,8 @@  discard block
 block discarded – undo
97 99
      *
98 100
      * @return	string		The rendered page browser ready for output
99 101
      */
100
-    protected function getPageBrowser() {
102
+    protected function getPageBrowser()
103
+    {
101 104
 
102 105
         // Get overall number of pages.
103 106
         $maxPages = intval(ceil($this->doc->numPages / $this->conf['limit']));
@@ -179,7 +182,8 @@  discard block
 block discarded – undo
179 182
      *
180 183
      * @return	string		The content that is displayed on the website
181 184
      */
182
-    public function main($content, $conf) {
185
+    public function main($content, $conf)
186
+    {
183 187
 
184 188
         $this->init($conf);
185 189
 
Please login to merge, or discard this patch.