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

Completed
Push — master ( a4af1d...581540 )
by Cristian
16:03 queued 09:03
created
src/PanelTraits/Buttons.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         $button = $this->buttons()->firstWhere('name', $name);
99 99
 
100
-        if (! $button) {
100
+        if (!$button) {
101 101
             abort(500, 'CRUD Button "'.$name.'" not found. Please check the button exists before you modify it.');
102 102
         }
103 103
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function removeButton($name, $stack = null)
120 120
     {
121
-        $this->buttons = $this->buttons->reject(function ($button) use ($name, $stack) {
121
+        $this->buttons = $this->buttons->reject(function($button) use ($name, $stack) {
122 122
             return $stack == null ? $button->name == $name : ($button->stack == $stack) && ($button->name == $name);
123 123
         });
124 124
     }
@@ -130,14 +130,14 @@  discard block
 block discarded – undo
130 130
 
131 131
     public function removeAllButtonsFromStack($stack)
132 132
     {
133
-        $this->buttons = $this->buttons->reject(function ($button) use ($stack) {
133
+        $this->buttons = $this->buttons->reject(function($button) use ($stack) {
134 134
             return $button->stack == $stack;
135 135
         });
136 136
     }
137 137
 
138 138
     public function removeButtonFromStack($name, $stack)
139 139
     {
140
-        $this->buttons = $this->buttons->reject(function ($button) use ($name, $stack) {
140
+        $this->buttons = $this->buttons->reject(function($button) use ($name, $stack) {
141 141
             return $button->name == $name && $button->stack == $stack;
142 142
         });
143 143
     }
Please login to merge, or discard this patch.
src/PanelTraits/Columns.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
     /**
142 142
      * Move the most recently added column after the given target column.
143 143
      *
144
-     * @param string|array $targetColumn The target column name or array.
144
+     * @param string $targetColumn The target column name or array.
145 145
      */
146 146
     public function afterColumn($targetColumn)
147 147
     {
Please login to merge, or discard this patch.
src/PanelTraits/Filters.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
     public function filtersEnabled()
10 10
     {
11
-        return ! is_array($this->filters);
11
+        return !is_array($this->filters);
12 12
     }
13 13
 
14 14
     public function filtersDisabled()
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $this->enableFilters();
54 54
 
55 55
         // check if another filter with the same name exists
56
-        if (! isset($options['name'])) {
56
+        if (!isset($options['name'])) {
57 57
             abort(500, 'All your filters need names.');
58 58
         }
59 59
         if ($this->filters->contains('name', $options['name'])) {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $filter = $this->filters->firstWhere('name', $name);
148 148
 
149
-        if (! $filter) {
149
+        if (!$filter) {
150 150
             abort(500, 'CRUD Filter "'.$name.'" not found. Please check the filter exists before you modify it.');
151 151
         }
152 152
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
     public function removeFilter($name)
163 163
     {
164
-        $this->filters = $this->filters->reject(function ($filter) use ($name) {
164
+        $this->filters = $this->filters->reject(function($filter) use ($name) {
165 165
             return $filter->name == $name;
166 166
         });
167 167
     }
@@ -245,16 +245,16 @@  discard block
 block discarded – undo
245 245
 
246 246
     public function checkOptionsIntegrity($options)
247 247
     {
248
-        if (! isset($options['name'])) {
248
+        if (!isset($options['name'])) {
249 249
             abort(500, 'Please make sure all your filters have names.');
250 250
         }
251
-        if (! isset($options['type'])) {
251
+        if (!isset($options['type'])) {
252 252
             abort(500, 'Please make sure all your filters have types.');
253 253
         }
254
-        if (! \View::exists('crud::filters.'.$options['type'])) {
254
+        if (!\View::exists('crud::filters.'.$options['type'])) {
255 255
             abort(500, 'No filter view named "'.$options['type'].'.blade.php" was found.');
256 256
         }
257
-        if (! isset($options['label'])) {
257
+        if (!isset($options['label'])) {
258 258
             abort(500, 'Please make sure all your filters have labels.');
259 259
         }
260 260
     }
Please login to merge, or discard this patch.