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.
Completed
Branch development (1144d9)
by butschster
09:48
created
src/Form/Element/Password.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     {
14 14
         $value = $this->getValue();
15 15
 
16
-        if (! $this->isAllowedEmptyValue() and $this->getModel()->exists() and empty($value)) {
16
+        if (!$this->isAllowedEmptyValue() and $this->getModel()->exists() and empty($value)) {
17 17
             return;
18 18
         }
19 19
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $data = parent::getValidationRules();
29 29
 
30
-        if (! $this->isAllowedEmptyValue() and $this->getModel()->exists()) {
30
+        if (!$this->isAllowedEmptyValue() and $this->getModel()->exists()) {
31 31
             foreach ($data as $field => $rules) {
32 32
                 foreach ($rules as $i => $rule) {
33 33
                     if ($rule == 'required') {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function hashWithBcrypt()
65 65
     {
66
-        return $this->mutateValue(function ($value) {
66
+        return $this->mutateValue(function($value) {
67 67
             return bcrypt($value);
68 68
         });
69 69
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function hashWithMD5()
75 75
     {
76
-        return $this->mutateValue(function ($value) {
76
+        return $this->mutateValue(function($value) {
77 77
             return md5($value);
78 78
         });
79 79
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function hashWithSHA1()
85 85
     {
86
-        return $this->mutateValue(function ($value) {
86
+        return $this->mutateValue(function($value) {
87 87
             return sha1($value);
88 88
         });
89 89
     }
Please login to merge, or discard this patch.
src/Form/Element/View.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $this->view = $view;
48 48
 
49
-        $this->setDisplay(function ($model) {
49
+        $this->setDisplay(function($model) {
50 50
             $this->data['model'] = $model;
51 51
 
52 52
             return view($this->getView(), $this->data);
Please login to merge, or discard this patch.
src/Form/Element/Wysiwyg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
             $filteredValue = $value;
163 163
         }
164 164
 
165
-        if (! empty($this->filteredFieldKey)) {
165
+        if (!empty($this->filteredFieldKey)) {
166 166
             parent::setValue($model, $attribute, $value);
167 167
             parent::setValue($model, $this->filteredFieldKey, $filteredValue);
168 168
         } else {
Please login to merge, or discard this patch.
src/Form/Columns/Columns.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $element = new Column($element);
66 66
         }
67 67
 
68
-        if (! ($element instanceof ColumnInterface)) {
68
+        if (!($element instanceof ColumnInterface)) {
69 69
             throw new \Exception('Column should be instance of ColumnInterface');
70 70
         }
71 71
 
@@ -80,16 +80,16 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $this->setHtmlAttribute('class', 'row');
82 82
 
83
-        $count = $this->getElements()->filter(function (ColumnInterface $column) {
83
+        $count = $this->getElements()->filter(function(ColumnInterface $column) {
84 84
             return $column->getWidth() === 0;
85 85
         })->count();
86 86
 
87
-        $width = $this->maxWidth - $this->getElements()->sum(function (ColumnInterface $column) {
87
+        $width = $this->maxWidth - $this->getElements()->sum(function(ColumnInterface $column) {
88 88
             return $column->getWidth();
89 89
         });
90 90
 
91
-        $this->getElements()->each(function (ColumnInterface $column) use ($width, $count) {
92
-            if (! $column->getWidth()) {
91
+        $this->getElements()->each(function(ColumnInterface $column) use ($width, $count) {
92
+            if (!$column->getWidth()) {
93 93
                 $column->setWidth(floor($width / $count));
94 94
             }
95 95
         });
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function setSize($size)
131 131
     {
132
-        $this->getColumns()->each(function (ColumnInterface $column) use ($size) {
132
+        $this->getColumns()->each(function(ColumnInterface $column) use ($size) {
133 133
             $column->setSize($size);
134 134
         });
135 135
     }
Please login to merge, or discard this patch.
src/Display/DisplayTab.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@
 block discarded – undo
60 60
     {
61 61
         $this->content = $content;
62 62
 
63
-        if (! is_null($label)) {
63
+        if (!is_null($label)) {
64 64
             $this->setLabel($label);
65 65
         }
66 66
 
67
-        if (! is_null($icon)) {
67
+        if (!is_null($icon)) {
68 68
             $this->setIcon($icon);
69 69
         }
70 70
     }
Please login to merge, or discard this patch.
src/Display/Extension/Apply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function set($applies)
28 28
     {
29
-        if (! is_array($applies)) {
29
+        if (!is_array($applies)) {
30 30
             $applies = func_get_args();
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Display/DisplayDatatables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function setOrder($order)
89 89
     {
90
-        if (! is_array($order)) {
90
+        if (!is_array($order)) {
91 91
             $order = func_get_args();
92 92
         }
93 93
 
Please login to merge, or discard this patch.
src/Display/Filter/FilterBase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $this->setName($name);
37 37
 
38
-        if (! is_null($title)) {
38
+        if (!is_null($title)) {
39 39
             $this->setTitle($title);
40 40
         }
41 41
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function getAlias()
79 79
     {
80
-        if (! $this->alias) {
80
+        if (!$this->alias) {
81 81
             return $this->getName();
82 82
         }
83 83
 
@@ -149,6 +149,6 @@  discard block
 block discarded – undo
149 149
      */
150 150
     public function isActive()
151 151
     {
152
-        return ! is_null($this->getValue());
152
+        return !is_null($this->getValue());
153 153
     }
154 154
 }
Please login to merge, or discard this patch.
src/Http/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$router->group(['as' => 'admin.', 'namespace' => 'SleepingOwl\Admin\Http\Controllers'], function ($router) {
4
-    if (! $router->has('admin.dashboard')) {
3
+$router->group(['as' => 'admin.', 'namespace' => 'SleepingOwl\Admin\Http\Controllers'], function($router) {
4
+    if (!$router->has('admin.dashboard')) {
5 5
         $router->get('', ['as' => 'dashboard', 'uses' => 'AdminController@getDashboard']);
6 6
     }
7 7
 
Please login to merge, or discard this patch.