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 Failed
Push — master ( 771f10...62e702 )
by Gabriel
12:03
created
src/Controllers/Admin/PageControllerFormBuilderViewPathsTrait.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
     protected function bootPageControllerFormBuilderViewPathsTrait()
14 14
     {
15 15
         $this->after(
16
-            function () {
16
+            function() {
17 17
                 $this->registerFormBuilderViewPaths();
18 18
             }
19 19
         );
Please login to merge, or discard this patch.
resources/views/admin/form_fields/modules/panels/index-available.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 <?php foreach ($roles as $role) { ?>
9 9
     <div class="form-panel">
10 10
         <div class="header">
11
-            <?php echo $manager->getLabel('available.'.$role) ?>
11
+            <?php echo $manager->getLabel('available.' . $role) ?>
12 12
         </div>
13 13
         <div class="fields-body">
14 14
             <?php echo $this->load('../lists/available', ['role' => $role]); ?>
Please login to merge, or discard this patch.
tests/fixtures/Application/Models/Fields/FormFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public function getModelNamespace()
21 21
     {
22
-        return __NAMESPACE__.'\\';
22
+        return __NAMESPACE__ . '\\';
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 app()->share('app', new \Nip\Application\Application());
9 9
 app()->share('translator', new \Nip\I18n\Translator('en'));
10 10
 
11
-define('PROJECT_BASE_PATH', __DIR__.'/..');
11
+define('PROJECT_BASE_PATH', __DIR__ . '/..');
12 12
 define('TEST_BASE_PATH', __DIR__);
13 13
 define('CURRENT_URL', '');
14
-define('TEST_FIXTURE_PATH', __DIR__.DIRECTORY_SEPARATOR.'fixtures');
14
+define('TEST_FIXTURE_PATH', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures');
15 15
 
16
-require dirname(__DIR__).'/vendor/autoload.php';
16
+require dirname(__DIR__) . '/vendor/autoload.php';
Please login to merge, or discard this patch.
src/FormBuilderServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 
14 14
     public function migrations(): string
15 15
     {
16
-        return dirname(__DIR__).'/migrations/';
16
+        return dirname(__DIR__) . '/migrations/';
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/application/Models/Fields/Types/Traits/ModelElements/ModelDobTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 app('locale')->getOption(['time', 'dateStringFormatShort'])
36 36
             );
37 37
             if ($value) {
38
-                $value .= ' ('.$this->getAgeString($model).')';
38
+                $value .= ' (' . $this->getAgeString($model) . ')';
39 39
             }
40 40
         }
41 41
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function getAgeString($model)
55 55
     {
56
-        return $this->getAge($model).' '.translator()->trans('years');
56
+        return $this->getAge($model) . ' ' . translator()->trans('years');
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
application/Models/Fields/Types/Traits/HtmlElements/SelectElementTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                     if ($hideDisabled && !$isInAdmin) {
74 74
                         continue;
75 75
                     }
76
-                    $attribs['label'] .= ' ('.translator()->trans('unavailable').')';
76
+                    $attribs['label'] .= ' (' . translator()->trans('unavailable') . ')';
77 77
 
78 78
                     if (!$isInAdmin) {
79 79
                         $attribs['disabled'] = 'disabled';
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $this->adminFormAddOptionsFromModel($form, 'select_options_disabled', 'Disabled Options', false);
99 99
 
100 100
         $hideDisabledType = $form->isElementsType('BsRadioGroup') ? 'BsRadioGroup' : 'RadioGroup';
101
-        $form->{'add'.$hideDisabledType}('hide_disabled', translator()->trans('hide_disabled'), true);
101
+        $form->{'add' . $hideDisabledType}('hide_disabled', translator()->trans('hide_disabled'), true);
102 102
         $form->getElement('hide_disabled')
103 103
             ->addOption('yes', translator()->trans('yes'))
104 104
             ->addOption('no', translator()->trans('no'))
Please login to merge, or discard this patch.
Models/Fields/Types/Traits/CustomElements/AbstractCustomElementTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,6 +118,6 @@
 block discarded – undo
118 118
      */
119 119
     public function getFormName()
120 120
     {
121
-        return $this->getName().'-'.sha1($this->getItem()->id);
121
+        return $this->getName() . '-' . sha1($this->getItem()->id);
122 122
     }
123 123
 }
Please login to merge, or discard this patch.
application/Models/ModelWithFields/Traits/ModelWithFieldsRecordTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,13 +54,13 @@
 block discarded – undo
54 54
         $roles = $fieldsManager->getRoles();
55 55
         foreach ($roles as $role) {
56 56
             $fields[$role] = $fieldsManager->getTypesByRole($role);
57
-            $fields['existing.'.$role] = [];
57
+            $fields['existing.' . $role] = [];
58 58
         }
59 59
         $fields['custom'] = $fieldsManager->getTypesByRole('custom');
60 60
 
61 61
         $existing = $this->getFormFields();
62 62
         foreach ($existing as $field) {
63
-            $fields['existing.'.$field->getRole()][] = $field;
63
+            $fields['existing.' . $field->getRole()][] = $field;
64 64
             unset($fields[$field->getRole()][$field->getType()->getName()]);
65 65
         }
66 66
 
Please login to merge, or discard this patch.