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

Passed
Pull Request — crud-uploads (#5038)
by Pedro
13:06
created
src/app/Library/Uploaders/Validation/ValidUploadMultiple.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function validate(string $attribute, mixed $value, Closure $fail): void
20 20
     {
21
-        if (! is_array($value)) {
21
+        if (!is_array($value)) {
22 22
             try {
23 23
                 $value = json_decode($value, true);
24
-            } catch(\Exception $e) {
24
+            } catch (\Exception $e) {
25 25
                 $fail('Unable to determine the value type');
26 26
 
27 27
                 return;
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             $filesToClear = CrudPanelFacade::getRequest()->input('clear_'.$attribute) ?? [];
34 34
             $previousFiles = CrudPanelFacade::getCurrentEntry()->{$attribute} ?? [];
35 35
 
36
-            if (is_string($previousFiles) && ! isset(CrudPanelFacade::getCurrentEntry()->getCasts()[$attribute])) {
36
+            if (is_string($previousFiles) && !isset(CrudPanelFacade::getCurrentEntry()->getCasts()[$attribute])) {
37 37
                 $previousFiles = json_decode($previousFiles, true);
38 38
             }
39 39
 
Please login to merge, or discard this patch.
src/app/Library/Uploaders/Validation/ValidBackpackUpload.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@  discard block
 block discarded – undo
38 38
     {
39 39
     }
40 40
 
41
-    public function arrayRules(string|array|File $rules): self
41
+    public function arrayRules(string | array | File $rules): self
42 42
     {
43 43
         if (is_string($rules)) {
44 44
             $rules = explode('|', $rules);
45 45
         }
46 46
 
47
-        if (! in_array('array', $rules)) {
47
+        if (!in_array('array', $rules)) {
48 48
             $rules[] = 'array';
49 49
         }
50 50
 
@@ -53,12 +53,12 @@  discard block
 block discarded – undo
53 53
         return $this;
54 54
     }
55 55
 
56
-    public function fileRules(string|array|File $rules): self
56
+    public function fileRules(string | array | File $rules): self
57 57
     {
58 58
         if (is_string($rules)) {
59 59
             $rules = explode('|', $rules);
60 60
         }
61
-        if (! is_array($rules)) {
61
+        if (!is_array($rules)) {
62 62
             $rules = [$rules];
63 63
         }
64 64
         $this->fileRules = $rules;
Please login to merge, or discard this patch.