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/tests/Presenter/PresenterTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             $view, $request, $theme, $skin, $settings, $instanceConfig
139 139
         );
140 140
 
141
-        $presenter->register('html', function () {
141
+        $presenter->register('html', function() {
142 142
         });
143 143
 
144 144
         $reflection = new \ReflectionClass(get_class($presenter));
@@ -398,11 +398,11 @@  discard block
 block discarded – undo
398 398
         );
399 399
 
400 400
         $htmlRenderer = m::mock('HtmlRenderer', 'Xpressengine\Presenter\RendererInterface');
401
-        $presenter->register('html', function ($presenter) use ($htmlRenderer) {
401
+        $presenter->register('html', function($presenter) use ($htmlRenderer) {
402 402
             return new $htmlRenderer($presenter);
403 403
         });
404 404
         $jsonRenderer = m::mock('JsonRenderer', 'Xpressengine\Presenter\RendererInterface');
405
-        $presenter->register('json', function ($presenter) use ($jsonRenderer) {
405
+        $presenter->register('json', function($presenter) use ($jsonRenderer) {
406 406
             return new $jsonRenderer($presenter);
407 407
         });
408 408
 
@@ -440,11 +440,11 @@  discard block
 block discarded – undo
440 440
         );
441 441
 
442 442
         $htmlRenderer = m::mock('HtmlRenderer', 'Xpressengine\Presenter\RendererInterface');
443
-        $presenter->register('html', function ($presenter) use ($htmlRenderer) {
443
+        $presenter->register('html', function($presenter) use ($htmlRenderer) {
444 444
             return new $htmlRenderer($presenter);
445 445
         });
446 446
         $jsonRenderer = m::mock('JsonRenderer', 'Xpressengine\Presenter\RendererInterface');
447
-        $presenter->register('json', function ($presenter) use ($jsonRenderer) {
447
+        $presenter->register('json', function($presenter) use ($jsonRenderer) {
448 448
             return new $jsonRenderer($presenter);
449 449
         });
450 450
 
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
         );
497 497
 
498 498
         $htmlRenderer = m::mock('HtmlRenderer');
499
-        $presenter->register('html', function ($presenter) use ($htmlRenderer) {
499
+        $presenter->register('html', function($presenter) use ($htmlRenderer) {
500 500
             return new $htmlRenderer($presenter);
501 501
         });
502 502
 
Please login to merge, or discard this patch.
core/tests/Seo/SettingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $mockConfig->shouldReceive('set')->once()->with('uuid', $id);
57 57
 
58 58
         $cfg->shouldReceive('set')->once()->with(
59
-            m::on(function () { return true; }),
59
+            m::on(function() { return true; }),
60 60
             [
61 61
                 'foo' => 'bar',
62 62
                 'baz' => 'qux'
Please login to merge, or discard this patch.
core/tests/Support/JsonTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $string = '{"foo":"bar","baz":1}';
31 31
         $decodeObject = Json::decode($string);
32 32
 
33
-        $this->assertEquals((object)[
33
+        $this->assertEquals((object) [
34 34
             'foo' => 'bar',
35 35
             'baz' => 1
36 36
         ], $decodeObject);
Please login to merge, or discard this patch.
core/tests/Support/SorterTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
             ['2', '4', '1', '3'], $list
193 193
         );
194 194
 
195
-        $list = $this->sorter->sort(['1','2','3']);
195
+        $list = $this->sorter->sort(['1', '2', '3']);
196 196
 
197 197
         $this->assertEquals(
198 198
             ['2', '1', '3'], $list
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         $this->sorter->add(['6', '4'], Sorter::AFTER, '5');
211 211
         $this->sorter->add('4', Sorter::AFTER, '3');
212 212
 
213
-        $list = $this->sorter->sort(['1','2','4']);
213
+        $list = $this->sorter->sort(['1', '2', '4']);
214 214
 
215 215
         // 3 5 1 4 2
216 216
 
Please login to merge, or discard this patch.
core/tests/Temporary/TemporaryRepositoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $keygen->shouldReceive('generate')->andReturn('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');
76 76
 
77 77
         $conn->shouldReceive('table')->andReturn($query);
78
-        $query->shouldReceive('insert')->once()->with(m::on(function ($array) {
78
+        $query->shouldReceive('insert')->once()->with(m::on(function($array) {
79 79
             return $array['key'] === 'someKey'
80 80
             && $array['val'] === 'baz'
81 81
             && $array['etc'] === 'a:1:{s:3:"foo";s:3:"bar";}'
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $conn->shouldReceive('table')->andReturn($query);
107 107
         $query->shouldReceive('where')->once()->with('id', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx')->andReturnSelf();
108 108
 
109
-        $query->shouldReceive('update')->once()->with(m::on(function ($array) {
109
+        $query->shouldReceive('update')->once()->with(m::on(function($array) {
110 110
             return $array['val'] === 'qux' && $array['etc'] === 'a:1:{s:3:"foo";s:3:"baz";}';
111 111
         }));
112 112
 
Please login to merge, or discard this patch.
core/tests/Translation/LangDataTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
         $langData = new LangData();
58 58
         $langData->setData($data);
59
-        $langData->each(function ($item, $locale, $value) use (&$retrievedData) {
59
+        $langData->each(function($item, $locale, $value) use (&$retrievedData) {
60 60
             $retrievedData[$item][$locale] = $value;
61 61
         });
62 62
 
Please login to merge, or discard this patch.
core/tests/Translation/TranslationTestCase.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     protected function createTranslator(array $config, array $files)
10 10
     {
11 11
         $fileLoader = $this->getLoader();
12
-        foreach ( $files as $fileName => $data ) {
12
+        foreach ($files as $fileName => $data) {
13 13
             $langData = $this->getLangData($data);
14 14
             $fileLoader->shouldReceive('load')->with($fileName)->andReturn($langData);
15 15
         }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 {
56 56
     private $cache = [];
57 57
     public function putLangData($namespace, LangData $langData) {
58
-        $langData->each(function ($item, $locale, $value) use ($namespace) {
58
+        $langData->each(function($item, $locale, $value) use ($namespace) {
59 59
             $this->putLine($namespace, $item, $locale, $value);
60 60
         });
61 61
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $this->cache[$namespace][$item][$locale] = $value;
64 64
     }
65 65
     public function getLine($namespace, $item, $locale) {
66
-        if ( isset($this->cache[$namespace][$item][$locale]) ) {
66
+        if (isset($this->cache[$namespace][$item][$locale])) {
67 67
             return $this->cache[$namespace][$item][$locale];
68 68
         }
69 69
         return null;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $this->cacheKey = $transCacheKey;
79 79
     }
80 80
     public function get($namespace, $item, $locale) {
81
-        if ( isset($this->cache[$this->cacheKey][$namespace][$item][$locale]) ) {
81
+        if (isset($this->cache[$this->cacheKey][$namespace][$item][$locale])) {
82 82
             return $this->cache[$this->cacheKey][$namespace][$item][$locale];
83 83
         }
84 84
         return null;
Please login to merge, or discard this patch.
core/tests/Translation/TranslatorTest.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
 
17 17
     protected function setUp()
18 18
     {
19
-        $this->t = $this->createTranslator
20
-        (
19
+        $this->t = $this->createTranslator(
21 20
             [
22 21
                 'locales' => ['en', 'ko'],
23 22
                 'localeTexts' => [
Please login to merge, or discard this patch.
core/tests/Widget/WidgetHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@
 block discarded – undo
312 312
             $register = $this->register;
313 313
             $register->shouldReceive('get')->andReturn(['Xpressengine\Tests\Widget\FakeWidget']);
314 314
 
315
-            $filter = function ($widgetClassname) {
315
+            $filter = function($widgetClassname) {
316 316
                 return $widgetClassname::codeCreationAble();
317 317
             };
318 318
 
Please login to merge, or discard this patch.