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 ( 9c5654...6ed211 )
by Gabriel
11:01
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.
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.
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.
src/application/Library/View/View.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected function generateBasePath()
20 20
     {
21 21
         return FormBuilder::basePath()
22
-            .DIRECTORY_SEPARATOR.'resources'
23
-            .DIRECTORY_SEPARATOR.'views';
22
+            .DIRECTORY_SEPARATOR . 'resources'
23
+            .DIRECTORY_SEPARATOR . 'views';
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
src/FormBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     public static function loadAssetContent($path)
18 18
     {
19 19
         $fullPath = self::basePath()
20
-            .DIRECTORY_SEPARATOR.'resources'
21
-            .DIRECTORY_SEPARATOR.'assets'
20
+            .DIRECTORY_SEPARATOR . 'resources'
21
+            .DIRECTORY_SEPARATOR . 'assets'
22 22
             .$path;
23 23
         if (file_exists($fullPath)) {
24 24
             return file_get_contents($fullPath);
Please login to merge, or discard this patch.
migrations/20211105131650_forms_pivot_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function change(): void
24 24
     {
25
-        $table_name = PackageConfig::tablesForms().'_pivot';
25
+        $table_name = PackageConfig::tablesForms() . '_pivot';
26 26
         $exists = $this->hasTable($table_name);
27 27
         if ($exists) {
28 28
             return;
Please login to merge, or discard this patch.
src/Consumers/Actions/GetConsumerType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
      * @param Consumer|Record $consumer
27 27
      * @return int|string|null
28 28
      */
29
-    public static function fromRecord(Consumer $consumer): int|string|null
29
+    public static function fromRecord(Consumer $consumer): int | string | null
30 30
     {
31 31
         $action = static::make();
32 32
 
33 33
         return $action->handle($consumer->getManagerName());
34 34
     }
35 35
 
36
-    public function handle($consumerClassRepository = null): int|string|null
36
+    public function handle($consumerClassRepository = null): int | string | null
37 37
     {
38 38
         $key = array_search($consumerClassRepository, $this->consumerClasses);
39 39
         if (false == $key) {
Please login to merge, or discard this patch.
src/FormFields/Types/Behaviours/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.