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
Branch master (585b6c)
by Sebastian
06:27
created
Classes/Plugin/Tools/ImageManipulationTool.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@  discard block
 block discarded – undo
22 22
  * @subpackage dlf
23 23
  * @access public
24 24
  */
25
-class ImageManipulationTool extends \Kitodo\Dlf\Common\AbstractPlugin
26
-{
25
+class ImageManipulationTool extends \Kitodo\Dlf\Common\AbstractPlugin {
27 26
     public $scriptRelPath = 'Classes/Plugin/Tools/ImageManipulationTool.php';
28 27
 
29 28
     /**
@@ -36,8 +35,7 @@  discard block
 block discarded – undo
36 35
      *
37 36
      * @return string The content that is displayed on the website
38 37
      */
39
-    public function main($content, $conf)
40
-    {
38
+    public function main($content, $conf) {
41 39
         $this->init($conf);
42 40
         // Merge configuration with conf array of toolbox.
43 41
         if (!empty($this->cObj->data['conf'])) {
Please login to merge, or discard this patch.
Classes/Plugin/Tools/PdfDownloadTool.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@  discard block
 block discarded – undo
23 23
  * @subpackage dlf
24 24
  * @access public
25 25
  */
26
-class PdfDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin
27
-{
26
+class PdfDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin {
28 27
     public $scriptRelPath = 'Classes/Plugin/Tools/PdfDownloadTool.php';
29 28
 
30 29
     /**
@@ -37,8 +36,7 @@  discard block
 block discarded – undo
37 36
      *
38 37
      * @return string The content that is displayed on the website
39 38
      */
40
-    public function main($content, $conf)
41
-    {
39
+    public function main($content, $conf) {
42 40
         $this->init($conf);
43 41
         // Merge configuration with conf array of toolbox.
44 42
         if (!empty($this->cObj->data['conf'])) {
@@ -88,8 +86,7 @@  discard block
 block discarded – undo
88 86
      *
89 87
      * @return string Link to downloadable page
90 88
      */
91
-    protected function getPageLink()
92
-    {
89
+    protected function getPageLink() {
93 90
         $page1Link = '';
94 91
         $page2Link = '';
95 92
         $pageNumber = $this->piVars['page'];
@@ -137,8 +134,7 @@  discard block
 block discarded – undo
137 134
      *
138 135
      * @return string Link to downloadable work
139 136
      */
140
-    protected function getWorkLink()
141
-    {
137
+    protected function getWorkLink() {
142 138
         $workLink = '';
143 139
         // Get work link.
144 140
         if (!empty($this->doc->physicalStructureInfo[$this->doc->physicalStructure[0]]['files'][$this->conf['fileGrpDownload']])) {
Please login to merge, or discard this patch.
Classes/Plugin/Tools/SearchInDocumentTool.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@  discard block
 block discarded – undo
24 24
  * @subpackage dlf
25 25
  * @access public
26 26
  */
27
-class SearchInDocumentTool extends \Kitodo\Dlf\Common\AbstractPlugin
28
-{
27
+class SearchInDocumentTool extends \Kitodo\Dlf\Common\AbstractPlugin {
29 28
     public $scriptRelPath = 'Classes/Plugin/Tools/SearchInDocumentTool.php';
30 29
 
31 30
     /**
@@ -38,8 +37,7 @@  discard block
 block discarded – undo
38 37
      *
39 38
      * @return string The content that is displayed on the website
40 39
      */
41
-    public function main($content, $conf)
42
-    {
40
+    public function main($content, $conf) {
43 41
 
44 42
         $this->init($conf);
45 43
 
@@ -105,8 +103,7 @@  discard block
 block discarded – undo
105 103
      *
106 104
      * @return void
107 105
      */
108
-    protected function addSearchInDocumentJS()
109
-    {
106
+    protected function addSearchInDocumentJS() {
110 107
         $pageRenderer = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
111 108
         $pageRenderer->addJsFooterFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey) . 'Resources/Public/Javascript/Search/SearchInDocument.js');
112 109
     }
@@ -118,8 +115,7 @@  discard block
 block discarded – undo
118 115
      *
119 116
      * @return array with encrypted core name and hash
120 117
      */
121
-    protected function getEncryptedCoreName()
122
-    {
118
+    protected function getEncryptedCoreName() {
123 119
         // Get core name.
124 120
         $name = Helper::getIndexNameFromUid($this->conf['solrcore'], 'tx_dlf_solrcores');
125 121
         // Encrypt core name.
Please login to merge, or discard this patch.
Classes/Plugin/Tools/AnnotationTool.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@  discard block
 block discarded – undo
26 26
  * @subpackage dlf
27 27
  * @access public
28 28
  */
29
-class AnnotationTool extends AbstractPlugin
30
-{
29
+class AnnotationTool extends AbstractPlugin {
31 30
     /**
32 31
      * @access public
33 32
      * @var string
@@ -44,8 +43,7 @@  discard block
 block discarded – undo
44 43
      *
45 44
      * @return string  The content that is displayed on the website
46 45
      */
47
-    public function main($content, $conf)
48
-    {
46
+    public function main($content, $conf) {
49 47
         $this->init($conf);
50 48
         // Merge configuration with conf array of toolbox.
51 49
         if (!empty($this->cObj->data['conf'])) {
Please login to merge, or discard this patch.
Classes/Plugin/Tools/FulltextTool.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@  discard block
 block discarded – undo
23 23
  * @subpackage dlf
24 24
  * @access public
25 25
  */
26
-class FulltextTool extends \Kitodo\Dlf\Common\AbstractPlugin
27
-{
26
+class FulltextTool extends \Kitodo\Dlf\Common\AbstractPlugin {
28 27
     public $scriptRelPath = 'Classes/Plugin/Tools/FulltextTool.php';
29 28
 
30 29
     /**
@@ -37,8 +36,7 @@  discard block
 block discarded – undo
37 36
      *
38 37
      * @return string The content that is displayed on the website
39 38
      */
40
-    public function main($content, $conf)
41
-    {
39
+    public function main($content, $conf) {
42 40
         $this->init($conf);
43 41
         // Merge configuration with conf array of toolbox.
44 42
         if (!empty($this->cObj->data['conf'])) {
Please login to merge, or discard this patch.
Classes/Plugin/Tools/ImageDownloadTool.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@  discard block
 block discarded – undo
22 22
  * @subpackage dlf
23 23
  * @access public
24 24
  */
25
-class ImageDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin
26
-{
25
+class ImageDownloadTool extends \Kitodo\Dlf\Common\AbstractPlugin {
27 26
     public $scriptRelPath = 'Classes/Plugin/Tools/ImageDownloadTool.php';
28 27
 
29 28
     /**
@@ -36,8 +35,7 @@  discard block
 block discarded – undo
36 35
      *
37 36
      * @return string The content that is displayed on the website
38 37
      */
39
-    public function main($content, $conf)
40
-    {
38
+    public function main($content, $conf) {
41 39
         $this->init($conf);
42 40
         // Merge configuration with conf array of toolbox.
43 41
         if (!empty($this->cObj->data['conf'])) {
@@ -90,8 +88,7 @@  discard block
 block discarded – undo
90 88
      *
91 89
      * @return string Link to image file with given label
92 90
      */
93
-    protected function getImage($page, $label)
94
-    {
91
+    protected function getImage($page, $label) {
95 92
         $image = [];
96 93
         // Get @USE value of METS fileGrp.
97 94
         $fileGrps = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['fileGrpsImageDownload']);
Please login to merge, or discard this patch.
Classes/Plugin/Collection.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@  discard block
 block discarded – undo
27 27
  * @subpackage dlf
28 28
  * @access public
29 29
  */
30
-class Collection extends \Kitodo\Dlf\Common\AbstractPlugin
31
-{
30
+class Collection extends \Kitodo\Dlf\Common\AbstractPlugin {
32 31
     public $scriptRelPath = 'Classes/Plugin/Collection.php';
33 32
 
34 33
     /**
@@ -49,8 +48,7 @@  discard block
 block discarded – undo
49 48
      *
50 49
      * @return string The content that is displayed on the website
51 50
      */
52
-    public function main($content, $conf)
53
-    {
51
+    public function main($content, $conf) {
54 52
         $this->init($conf);
55 53
         // Turn cache on.
56 54
         $this->setCache(TRUE);
@@ -78,8 +76,7 @@  discard block
 block discarded – undo
78 76
      *
79 77
      * @return string The list of collections ready to output
80 78
      */
81
-    protected function showCollectionList()
82
-    {
79
+    protected function showCollectionList() {
83 80
         /** @var QueryBuilder $queryBuilder */
84 81
         $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
85 82
             ->getQueryBuilderForTable('tx_dlf_collections');
@@ -256,8 +253,7 @@  discard block
 block discarded – undo
256 253
      *
257 254
      * @return void
258 255
      */
259
-    protected function showSingleCollection($id)
260
-    {
256
+    protected function showSingleCollection($id) {
261 257
         /** @var ConnectionPool $connectionPool */
262 258
         $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class);
263 259
         /** @var QueryBuilder $queryBuilder */
Please login to merge, or discard this patch.
Classes/Plugin/Eid/PageViewProxy.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@  discard block
 block discarded – undo
20 20
  * @subpackage dlf
21 21
  * @access public
22 22
  */
23
-class PageViewProxy extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
24
-{
23
+class PageViewProxy extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
25 24
     public $scriptRelPath = 'Classes/Plugin/Eid/PageViewProxy.php';
26 25
 
27 26
     /**
@@ -34,8 +33,7 @@  discard block
 block discarded – undo
34 33
      *
35 34
      * @return string
36 35
      */
37
-    public function main($content = '', $conf = [])
38
-    {
36
+    public function main($content = '', $conf = []) {
39 37
         $this->cObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class);
40 38
         $header = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('header');
41 39
         $url = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('url');
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@  discard block
 block discarded – undo
24 24
  * @subpackage dlf
25 25
  * @access public
26 26
  */
27
-class SearchInDocument extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
28
-{
27
+class SearchInDocument extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
29 28
     public $scriptRelPath = 'Classes/Plugin/Eid/SearchInDocument.php';
30 29
 
31 30
     /**
@@ -38,8 +37,7 @@  discard block
 block discarded – undo
38 37
      *
39 38
      * @return string JSON response of search suggestions
40 39
      */
41
-    public function main($content = '', $conf = [])
42
-    {
40
+    public function main($content = '', $conf = []) {
43 41
         if (
44 42
             GeneralUtility::_GP('encrypted') != ''
45 43
             && GeneralUtility::_GP('hashed') != ''
Please login to merge, or discard this patch.