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 (#565)
by Alexander
02:56
created
Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
      */
33 33
     public function getFunctions()
34 34
     {
35
-       return [
36
-          $this->getDocumentTypeFunction(),
37
-       ];
35
+        return [
36
+            $this->getDocumentTypeFunction(),
37
+        ];
38 38
     }
39 39
 
40 40
     protected function getDocumentTypeFunction(): ExpressionFunction
41 41
     {
42
-       return new ExpressionFunction(
42
+        return new ExpressionFunction(
43 43
             'getDocumentType',
44 44
             function () {
45 45
                 // Not implemented, we only use the evaluator
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
     {
42 42
        return new ExpressionFunction(
43 43
             'getDocumentType',
44
-            function () {
44
+            function() {
45 45
                 // Not implemented, we only use the evaluator
46 46
             },
47
-            function ($arguments, $cPid) {
47
+            function($arguments, $cPid) {
48 48
                 /** @var RequestWrapper $requestWrapper */
49 49
                 $requestWrapper = $arguments['request'];
50 50
                 $queryParams = $requestWrapper->getQueryParams();
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,10 +41,12 @@  discard block
 block discarded – undo
41 41
     {
42 42
        return new ExpressionFunction(
43 43
             'getDocumentType',
44
-            function () {
44
+            function ()
45
+            {
45 46
                 // Not implemented, we only use the evaluator
46 47
             },
47
-            function ($arguments, $cPid) {
48
+            function ($arguments, $cPid)
49
+            {
48 50
                 /** @var RequestWrapper $requestWrapper */
49 51
                 $requestWrapper = $arguments['request'];
50 52
                 $queryParams = $requestWrapper->getQueryParams();
@@ -93,8 +95,7 @@  discard block
 block discarded – undo
93 95
                 Helper::devLog('Failed to load document with UID ' . $piVars['id'], DEVLOG_SEVERITY_WARNING);
94 96
                 die();
95 97
             }
96
-        }
97
-        elseif (!empty($piVars['recordId'])) {
98
+        } elseif (!empty($piVars['recordId'])) {
98 99
             $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
99 100
                 ->getQueryBuilderForTable('tx_dlf_documents');
100 101
 
Please login to merge, or discard this patch.
Classes/ExpressionLanguage/DocumentTypeProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 {
20 20
     public function __construct()
21 21
     {
22
-         $this->expressionLanguageProviders = [
22
+            $this->expressionLanguageProviders = [
23 23
             DocumentTypeFunctionProvider::class
24
-         ];
24
+            ];
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.