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.
Test Setup Failed
Push — master ( e8cce3...c98937 )
by Gabriel
15:15
created
resources/views/admin/formbuilder-fields/modules/lists/existing.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
                             <li>
53 53
                                 <a href="<?= $field->compileURL('delete'); ?>" class="dropdown-item action-delete"
54 54
                                    onclick="return confirm('<?= translator()->trans(
55
-                                       'general.messages.confirm'
56
-                                   ); ?>');">
55
+                                        'general.messages.confirm'
56
+                                    ); ?>');">
57 57
                                     <i class="far fa-trash-alt"></i>
58 58
                                     <?= translator()->trans('delete'); ?>
59 59
                                 </a>
Please login to merge, or discard this patch.
tests/src/FormFieldTypes/Types/AbstractTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $form = Mockery::mock(FormModel::class)
14 14
             ->makePartial();
15 15
 
16
-        $form->shouldReceive('getModelForRole')->andReturnUsing(function ($role) use ($form) {
16
+        $form->shouldReceive('getModelForRole')->andReturnUsing(function($role) use ($form) {
17 17
             return $form->getModel();
18 18
         });
19 19
 
Please login to merge, or discard this patch.
Types/Behaviours/CustomElements/AbstractCustomElementTrait.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 
43 43
     protected function getFormValueRecord($model)
44 44
     {
45
-        $values = FindValuesByFormConsumer::for($this->getItem()->getFormBuilder(), $model)->handle();
45
+        $values = FindValuesByFormConsumer::for ($this->getItem()->getFormBuilder(), $model)->handle();
46 46
 
47
-        return FindOrCreateFormValueFromList::for($values)->fieldValue($this->getItem());
47
+        return FindOrCreateFormValueFromList::for ($values)->fieldValue($this->getItem());
48 48
     }
49 49
 
50 50
     /**
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function getFormName(): string
104 104
     {
105
-        return $this->getName().'-'.sha1($this->getItem()->id ?? '');
105
+        return $this->getName() . '-' . sha1($this->getItem()->id ?? '');
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,9 +42,13 @@
 block discarded – undo
42 42
 
43 43
     protected function getFormValueRecord($model)
44 44
     {
45
-        $values = FindValuesByFormConsumer::for($this->getItem()->getFormBuilder(), $model)->handle();
45
+        $values = FindValuesByFormConsumer::for($this->getItem()->getFormBuilder(), $model) {
46
+            ->handle();
47
+        }
46 48
 
47
-        return FindOrCreateFormValueFromList::for($values)->fieldValue($this->getItem());
49
+        return FindOrCreateFormValueFromList::for($values) {
50
+            ->fieldValue($this->getItem());
51
+        }
48 52
     }
49 53
 
50 54
     /**
Please login to merge, or discard this patch.
src/FormFields/Actions/GenerateInitialFormFields.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
     public static function forForm(Form $form, $fieldsCollection = null): static
35 35
     {
36 36
         $action = new static($form, $fieldsCollection);
37
-        $action->setConsumer(GetConsumerForForm::for($form)->handle());
38
-        $action->setConsumerConfigGenerateCallback(function () use ($action) {
37
+        $action->setConsumer(GetConsumerForForm::for ($form)->handle());
38
+        $action->setConsumerConfigGenerateCallback(function() use ($action) {
39 39
             return GetConsumerConfig::forConsumer($action->getConsumer())->handle();
40 40
         });
41 41
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,9 @@
 block discarded – undo
34 34
     public static function forForm(Form $form, $fieldsCollection = null): static
35 35
     {
36 36
         $action = new static($form, $fieldsCollection);
37
-        $action->setConsumer(GetConsumerForForm::for($form)->handle());
37
+        $action->setConsumer(GetConsumerForForm::for($form) {
38
+            ->handle());
39
+        }
38 40
         $action->setConsumerConfigGenerateCallback(function () use ($action) {
39 41
             return GetConsumerConfig::forConsumer($action->getConsumer())->handle();
40 42
         });
Please login to merge, or discard this patch.
src/FormFields/Models/FormFields/FormFieldTrait.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -109,18 +109,18 @@
 block discarded – undo
109 109
     public function populateFromSibling($sibling)
110 110
     {
111 111
         foreach ([
112
-                     'role',
113
-                     'label',
114
-                     'label_intern',
115
-                     'help',
116
-                     'options',
117
-                     'type',
118
-                     'listing',
119
-                     'visible',
120
-                     'mandatory',
121
-                     'filter',
122
-                     'pos',
123
-                 ] as $col) {
112
+                        'role',
113
+                        'label',
114
+                        'label_intern',
115
+                        'help',
116
+                        'options',
117
+                        'type',
118
+                        'listing',
119
+                        'visible',
120
+                        'mandatory',
121
+                        'filter',
122
+                        'pos',
123
+                    ] as $col) {
124 124
             $this->setPropertyValue($col, $sibling->getPropertyRaw($col));
125 125
         }
126 126
         $this->initOptions();
Please login to merge, or discard this patch.
src/FormResponseValues/Actions/FindOrCreateFormValueFromList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     protected $list;
11 11
 
12
-    public static function for(FormValuesConsumerList $list)
12
+    public static function for (FormValuesConsumerList $list)
13 13
     {
14 14
         $action = new static();
15 15
         $action->list = $list;
Please login to merge, or discard this patch.
src/FormResponseValues/Actions/FindValuesByFormConsumer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->list = new FormValuesConsumerList($form, $consumer);
21 21
     }
22 22
 
23
-    public static function for($form, $consumer)
23
+    public static function for ($form, $consumer)
24 24
     {
25 25
         return new static($form, $consumer);
26 26
     }
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
 
51 51
         return [
52 52
             'where' => [
53
-                ['id_form = ?', $this->list->getForm()->id,],
54
-                ['consumer = ?', $consumer->getManager()->getMorphName(),],
55
-                ['consumer_id = ?', $consumer->id,],
53
+                ['id_form = ?', $this->list->getForm()->id, ],
54
+                ['consumer = ?', $consumer->getManager()->getMorphName(), ],
55
+                ['consumer_id = ?', $consumer->id, ],
56 56
             ],
57 57
         ];
58 58
     }
Please login to merge, or discard this patch.