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
Push — master ( 1a1e57...ace484 )
by
unknown
18:25
created
core/src/Xpressengine/Support/Tree/Tree.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      */
154 154
     protected function sort($items = [])
155 155
     {
156
-        $items = Collection::make($items)->sort(function (NodeInterface $a, NodeInterface $b) {
156
+        $items = Collection::make($items)->sort(function(NodeInterface $a, NodeInterface $b) {
157 157
             $orderKey = $a->getOrderKeyName();
158 158
             if ($a->{$orderKey} == $b->{$orderKey}) {
159 159
                 return 0;
Please login to merge, or discard this patch.
core/src/Xpressengine/Category/Models/CategoryItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         if (!$this->children) {
74 74
             $this->children = $this->where($this->getParentIdName(), $this->getKey())
75 75
                 ->get()
76
-                ->sort(function (Node $a, Node $b) {
76
+                ->sort(function(Node $a, Node $b) {
77 77
                     $aOrdering = $a->{$a->getOrderKeyName()};
78 78
                     $bOrdering = $b->{$b->getOrderKeyName()};
79 79
 
Please login to merge, or discard this patch.
core/tests/Counter/CounterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         ->shouldAllowMockingProtectedMethods()
61 61
         ->makePartial();
62 62
 
63
-        return $counter ;
63
+        return $counter;
64 64
     }
65 65
 
66 66
     /**
Please login to merge, or discard this patch.
app/Providers/PresenterServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         if (app()->runningInConsole() === false) {
53 53
             $this->app->booted(
54
-                function () {
54
+                function() {
55 55
 
56 56
                     $frontendHandler = app('xe.frontend');
57 57
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     private function registerPresenter()
78 78
     {
79
-        $this->app->singleton('xe.presenter', function ($app) {
79
+        $this->app->singleton('xe.presenter', function($app) {
80 80
 
81 81
             $proxyClass = $app['xe.interception']->proxy(Presenter::class, 'Presenter');
82 82
 
@@ -100,13 +100,13 @@  discard block
 block discarded – undo
100 100
 
101 101
             $presenter->register(
102 102
                 $proxyHtmlRenderer::format(),
103
-                function (Presenter $presenter) use ($proxyHtmlRenderer) {
103
+                function(Presenter $presenter) use ($proxyHtmlRenderer) {
104 104
                     return new $proxyHtmlRenderer($presenter, app('xe.seo'), app('xe.widget.parser'));
105 105
                 }
106 106
             );
107 107
             $presenter->register(
108 108
                 $proxyJsonRenderer::format(),
109
-                function (Presenter $presenter) use ($proxyJsonRenderer) {
109
+                function(Presenter $presenter) use ($proxyJsonRenderer) {
110 110
                     return new $proxyJsonRenderer($presenter);
111 111
                 }
112 112
             );
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     private function registerFrontend()
124 124
     {
125
-        $this->app->singleton('xe.frontend', function ($app) {
125
+        $this->app->singleton('xe.frontend', function($app) {
126 126
             $tags = [
127 127
                 'title' => \Xpressengine\Presenter\Html\Tags\Title::class,
128 128
                 'meta' => \Xpressengine\Presenter\Html\Tags\Meta::class,
Please login to merge, or discard this patch.
core/src/Xpressengine/Document/DocumentHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
         $documentHandler = $this;
205 205
         Document::where('instanceId', $config->get('instanceId'))->chunk(
206 206
             $chunk,
207
-            function ($docs) use ($documentHandler) {
207
+            function($docs) use ($documentHandler) {
208 208
                 foreach ($docs as $doc) {
209 209
                     $documentHandler->remove($doc);
210 210
                 }
Please login to merge, or discard this patch.
app/Providers/DocumentServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function boot()
40 40
     {
41
-        Document::creating(function (Document $model) {
41
+        Document::creating(function(Document $model) {
42 42
             $model->setReply();
43 43
         });
44 44
     }
@@ -55,17 +55,17 @@  discard block
 block discarded – undo
55 55
         // set reply code length config to Document model
56 56
         Document::setReplyCharLen($app['config']['xe.documentReplyCodeLen']);
57 57
 
58
-        $app->singleton('xe.document.config', function ($app) {
58
+        $app->singleton('xe.document.config', function($app) {
59 59
             return new ConfigHandler($app['xe.config']);
60 60
         });
61
-        $app->singleton('xe.document.instance', function ($app) {
61
+        $app->singleton('xe.document.instance', function($app) {
62 62
             $instanceManagerClass = $app['xe.interception']->proxy(InstanceManager::class, 'DocumentInstanceManager');
63 63
             return new $instanceManagerClass(
64 64
                 $app['xe.db']->connection('document'),
65 65
                 $app['xe.document.config']
66 66
             );
67 67
         });
68
-        $app->singleton('xe.document', function ($app) {
68
+        $app->singleton('xe.document', function($app) {
69 69
             $documentHandlerClass = $app['xe.interception']->proxy(DocumentHandler::class, 'Document');
70 70
             $document = new $documentHandlerClass(
71 71
                 $app['xe.db']->connection('document'),
Please login to merge, or discard this patch.
core/tests/User/VirtualGroupRepositoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     protected function makeRepository($users = null, $vGroups = null, $getter = null)
81 81
     {
82 82
 
83
-        $vGroups = $vGroups?:[
83
+        $vGroups = $vGroups ?: [
84 84
             'facebook' => [
85 85
                 'title' => 'fb_group'
86 86
             ],
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 'title' => 'github_group'
92 92
             ],
93 93
         ];
94
-        $getter = $getter?:function ($user) {
94
+        $getter = $getter ?: function($user) {
95 95
             $providers = [];
96 96
             if ($user->getAccountByProvider('facebook')) {
97 97
                 $providers[] = 'facebook';
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             return $providers;
106 106
         };
107 107
 
108
-        $users = $users?:$this->makeUsers();
108
+        $users = $users ?: $this->makeUsers();
109 109
 
110 110
         return new VirtualGroupRepository($users, $vGroups, $getter);
111 111
     }
Please login to merge, or discard this patch.
core/tests/User/UserHandlerTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         $hasher = $this->getHasher();
35 35
         $hasher->shouldReceive('make')->once()->with('secret')->andReturn('encrypted');
36 36
         /** @var Mockery\MockInterface $handler */
37
-        $handler = $this->getHandlerMock(null,null,null,null,null,null,$hasher);
37
+        $handler = $this->getHandlerMock(null, null, null, null, null, null, $hasher);
38 38
         $handler->shouldReceive('validateForCreate')->withAnyArgs()->andReturn(true);
39 39
 
40 40
         $data = [
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $hasher = $this->getHasher();
60 60
         $hasher->shouldReceive('make')->once()->with('secret')->andReturn('encrypted');
61 61
         /** @var Mockery\MockInterface $handler */
62
-        $handler = $this->getHandlerMock(null,null,null,null,null,null,$hasher);
62
+        $handler = $this->getHandlerMock(null, null, null, null, null, null, $hasher);
63 63
         $handler->shouldReceive('validateForCreate')->withAnyArgs()->andReturn(true);
64 64
 
65 65
         $data = [
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $hasher = $this->getHasher();
98 98
         $hasher->shouldReceive('make')->once()->with('secret')->andReturn('encrypted');
99 99
         /** @var Mockery\MockInterface $handler */
100
-        $handler = $this->getHandlerMock(null,null,null,null,null,null,$hasher);
100
+        $handler = $this->getHandlerMock(null, null, null, null, null, null, $hasher);
101 101
         $handler->shouldReceive('validateForCreate')->withAnyArgs()->andReturn(true);
102 102
 
103 103
         $data = [
@@ -135,23 +135,23 @@  discard block
 block discarded – undo
135 135
         $hasher = $this->getHasher();
136 136
         $hasher->shouldReceive('make')->once()->with('secret')->andReturn('encrypted');
137 137
         /** @var Mockery\MockInterface $handler */
138
-        $handler = $this->getHandlerMock(null,null,null,null,null,null,$hasher);
138
+        $handler = $this->getHandlerMock(null, null, null, null, null, null, $hasher);
139 139
         $handler->shouldReceive('validateForCreate')->withAnyArgs()->andReturn(true);
140 140
 
141 141
         $data = [
142 142
             'displayName' => 'foo',
143 143
             'password' => 'secret',
144
-            'groupId' => ['bar','baz']
144
+            'groupId' => ['bar', 'baz']
145 145
         ];
146 146
 
147 147
         /** @var Mockery\MockInterface $users */
148 148
         $users = $handler->users();
149 149
         $user = $this->makeUser();
150
-        $user->shouldReceive('joinGroups')->with(['bar','baz'])->andReturnSelf();
150
+        $user->shouldReceive('joinGroups')->with(['bar', 'baz'])->andReturnSelf();
151 151
 
152 152
         /** @var Mockery\MockInterface $groups */
153 153
         $groups = $handler->groups();
154
-        $groups->shouldReceive('whereIn')->once()->with('id', ['bar','baz'])->andReturnSelf();
154
+        $groups->shouldReceive('whereIn')->once()->with('id', ['bar', 'baz'])->andReturnSelf();
155 155
         $groups->shouldReceive('get')->once()->andReturn([]);
156 156
 
157 157
         $users->shouldReceive('create')
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         $hasher = $this->getHasher();
169 169
         $hasher->shouldReceive('make')->once()->with('secret')->andReturn('encrypted');
170 170
         /** @var Mockery\MockInterface $handler */
171
-        $handler = $this->getHandlerMock(null,null,null,null,null,null,$hasher);
171
+        $handler = $this->getHandlerMock(null, null, null, null, null, null, $hasher);
172 172
         $handler->shouldReceive('validateForCreate')->withAnyArgs()->andReturn(true);
173 173
 
174 174
         $data = [
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
 
425 425
         /** @var Mockery\MockInterface $accounts */
426 426
         $accounts = $handler->accounts();
427
-        $accounts->shouldReceive('where')->once()->with(['accountId'=>'foo','provider'=>'foo'])->andReturnSelf();
427
+        $accounts->shouldReceive('where')->once()->with(['accountId'=>'foo', 'provider'=>'foo'])->andReturnSelf();
428 428
         $accounts->shouldReceive('first')->once()->andReturn(true);
429 429
 
430 430
 
Please login to merge, or discard this patch.
resources/FieldSkins/Boolean/DefaultSkin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $config = $this->config;
60 60
         $boolean = '';
61
-        if (isset($args[$config->get('id') . 'Boolean'])) {
62
-            $boolean = $args[$config->get('id') . 'Boolean'];
61
+        if (isset($args[$config->get('id').'Boolean'])) {
62
+            $boolean = $args[$config->get('id').'Boolean'];
63 63
         }
64 64
 
65 65
         return View::make('dynamicField/boolean/default/edit', [
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
     {
80 80
         $config = $this->config;
81 81
         $boolean = '';
82
-        if (isset($args[$config->get('id') . 'Boolean'])) {
83
-            $boolean = $args[$config->get('id') . 'Boolean'];
82
+        if (isset($args[$config->get('id').'Boolean'])) {
83
+            $boolean = $args[$config->get('id').'Boolean'];
84 84
         }
85 85
 
86 86
         return View::make('dynamicField/boolean/default/show', [
Please login to merge, or discard this patch.