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
app/Http/Kernel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     protected function isInstalled()
76 76
     {
77
-        return file_exists($this->app->storagePath() . '/app/installed');
77
+        return file_exists($this->app->storagePath().'/app/installed');
78 78
     }
79 79
 
80 80
     /**
@@ -95,11 +95,11 @@  discard block
 block discarded – undo
95 95
      */
96 96
 	protected function resetProviders()
97 97
 	{
98
-        $this->app['events']->listen('bootstrapped: App\Bootstrappers\LoadConfiguration', function ($app) {
98
+        $this->app['events']->listen('bootstrapped: App\Bootstrappers\LoadConfiguration', function($app) {
99 99
             $config = $app['config'];
100 100
 
101 101
             $providers = $config['app.providers'];
102
-            $providers = array_filter($providers, function ($p) {
102
+            $providers = array_filter($providers, function($p) {
103 103
                 return substr($p, 0, strlen('Illuminate')) == 'Illuminate';
104 104
             });
105 105
 
Please login to merge, or discard this patch.
app/Http/Controllers/InstallController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@
 block discarded – undo
83 83
         $this->checkSystem();
84 84
 
85 85
 
86
-        $appKeyPath = storage_path('app') . '/appKey';
87
-        $configPath = storage_path('app') . '/installConfig';
86
+        $appKeyPath = storage_path('app').'/appKey';
87
+        $configPath = storage_path('app').'/installConfig';
88 88
 
89 89
         $string = Yaml::dump([
90 90
             'site' => [
Please login to merge, or discard this patch.
app/Http/Controllers/MenuController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
 
357 357
     protected function inputFilterParser($prefix, $inputs = [])
358 358
     {
359
-        $inputs = array_where($inputs, function ($key, $value) use ($prefix) {
359
+        $inputs = array_where($inputs, function($key, $value) use ($prefix) {
360 360
             return starts_with($key, $prefix);
361 361
         });
362 362
 
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
 
646 646
     protected function registerItemImage(MenuItem $item, $name)
647 647
     {
648
-        $columnKeyName = $name . 'Id';
648
+        $columnKeyName = $name.'Id';
649 649
 
650 650
         if ($uploadImg = Request::file($name)) {
651 651
             $image = XeMedia::make(XeStorage::upload($uploadImg, 'menu'));
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
 
658 658
             $item->{$columnKeyName} = $image->getKey();
659 659
         } else {
660
-            $key = 'remove' . ucfirst($name);
660
+            $key = 'remove'.ucfirst($name);
661 661
             if (Request::get($key) && $item->{$columnKeyName} !== null) {
662 662
                 XeStorage::unBind($item->getKey(), $item->{$name});
663 663
                 $item->{$columnKeyName} = null;
Please login to merge, or discard this patch.
app/Providers/InstallServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         echo 'Please Install XE3';
41 41
         exit;
42
-        $appKeyPath = storage_path('app') . '/appKey';
42
+        $appKeyPath = storage_path('app').'/appKey';
43 43
 
44 44
         if (File::exists($appKeyPath) === false) {
45 45
             File::put($appKeyPath, Str::random(32));
Please login to merge, or discard this patch.
app/Console/Commands/PutTranslation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $dir = dir($dirPath);
90 90
 
91 91
             while ($entry = $dir->read()) {
92
-                $path = $dirPath . DIRECTORY_SEPARATOR . $entry;
92
+                $path = $dirPath.DIRECTORY_SEPARATOR.$entry;
93 93
                 if (is_dir($path)) {
94 94
                     continue;
95 95
                 }
@@ -115,10 +115,10 @@  discard block
 block discarded – undo
115 115
     {
116 116
         if (!$name) {
117 117
             // core language
118
-            return base_path('resources') . DIRECTORY_SEPARATOR . 'lang';
118
+            return base_path('resources').DIRECTORY_SEPARATOR.'lang';
119 119
         }
120 120
 
121
-        return base_path('plugins') . DIRECTORY_SEPARATOR . $name . DIRECTORY_SEPARATOR . 'langs';
121
+        return base_path('plugins').DIRECTORY_SEPARATOR.$name.DIRECTORY_SEPARATOR.'langs';
122 122
     }
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
app/Console/Commands/XeInstall.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
         } catch (\Exception $e) {
134 134
             $err = [
135 135
                 'Install fail!! Try again.',
136
-                ' message: ' . $e->getMessage(),
137
-                ' file: ' . $e->getFile(),
138
-                ' line: ' . $e->getLine(),
136
+                ' message: '.$e->getMessage(),
137
+                ' file: '.$e->getFile(),
138
+                ' line: '.$e->getLine(),
139 139
             ];
140 140
             $this->output->error(implode(PHP_EOL, $err));
141 141
             $note = [
@@ -329,13 +329,13 @@  discard block
 block discarded – undo
329 329
         try {
330 330
             $this->setStorageDirPermission();
331 331
         } catch (\Exception $e) {
332
-            $this->error('Fail to change storage directory permission. Check directory after install.' . PHP_EOL . ' message: '. $e->getMessage());
332
+            $this->error('Fail to change storage directory permission. Check directory after install.'.PHP_EOL.' message: '.$e->getMessage());
333 333
         }
334 334
 
335 335
         try {
336 336
             $this->setBootCacheDirPermission();
337 337
         } catch (\Exception $e) {
338
-            $this->error('Fail to change bootstrap cache directory permission. Check directory after install.' . PHP_EOL . ' message: '. $e->getMessage());
338
+            $this->error('Fail to change bootstrap cache directory permission. Check directory after install.'.PHP_EOL.' message: '.$e->getMessage());
339 339
         }
340 340
     }
341 341
 
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
             . PHP_EOL
352 352
             . 'Your personal information will not be collected.'
353 353
         );
354
-        $answer = $this->askValidation('Do you agree to collect your system environmental information?', 'yes', function ($value) {
354
+        $answer = $this->askValidation('Do you agree to collect your system environmental information?', 'yes', function($value) {
355 355
             if (!in_array($value, ['yes', 'no'])) {
356 356
                 throw new \Exception('Input only yes or no.');
357 357
             }
@@ -488,13 +488,13 @@  discard block
 block discarded – undo
488 488
      */
489 489
     private function configFileGenerate($key, array $data)
490 490
     {
491
-        $dir = config_path() . '/cms';
491
+        $dir = config_path().'/cms';
492 492
         $this->makeDir($dir);
493 493
 
494 494
         $data = $this->encodeArr2Str($data);
495 495
 
496
-        $file = $dir . "/{$key}.php";
497
-        file_put_contents($file, '<?php' . str_repeat(PHP_EOL, 2) . 'return [' . PHP_EOL . $data . '];' . PHP_EOL);
496
+        $file = $dir."/{$key}.php";
497
+        file_put_contents($file, '<?php'.str_repeat(PHP_EOL, 2).'return ['.PHP_EOL.$data.'];'.PHP_EOL);
498 498
     }
499 499
 
500 500
     /**
@@ -527,9 +527,9 @@  discard block
 block discarded – undo
527 527
 
528 528
         foreach ($arr as $key => $val) {
529 529
             if (is_array($val)) {
530
-                $output .= $this->getIndent($depth) . "'{$key}' => " . '[' . PHP_EOL . $this->encodeArr2Str($val, $depth + 1) . $this->getIndent($depth) . '],' . PHP_EOL;
530
+                $output .= $this->getIndent($depth)."'{$key}' => ".'['.PHP_EOL.$this->encodeArr2Str($val, $depth + 1).$this->getIndent($depth).'],'.PHP_EOL;
531 531
             } else {
532
-                $output .= $this->getIndent($depth) . "'{$key}' => " . (is_int($val) ? $val : "'{$val}'") .',' . PHP_EOL;
532
+                $output .= $this->getIndent($depth)."'{$key}' => ".(is_int($val) ? $val : "'{$val}'").','.PHP_EOL;
533 533
             }
534 534
         }
535 535
 
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
         $siteInfo = $this->defaultInfos['site'];
584 584
 
585 585
         // site url
586
-        $siteInfo['url'] = $this->askValidation('site url', $siteInfo['url'], function ($url) {
586
+        $siteInfo['url'] = $this->askValidation('site url', $siteInfo['url'], function($url) {
587 587
             $url = trim($url, "/");
588 588
             if (filter_var($url, FILTER_VALIDATE_URL) === false) {
589 589
                 throw new \Exception('Invalid URL Format.');
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
         });
593 593
 
594 594
         // timezone
595
-        $siteInfo['timezone'] = $this->askValidation('Timezone', $siteInfo['timezone'], function ($timezone) {
595
+        $siteInfo['timezone'] = $this->askValidation('Timezone', $siteInfo['timezone'], function($timezone) {
596 596
             if (in_array($timezone, timezone_identifiers_list()) === false) {
597 597
                 throw new \Exception('Inputted timezone do not exist.');
598 598
             }
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
         $process = new Process(implode(' && ', $commands), $this->getBasePath(), null, null, null);
764 764
 
765 765
         $process->run(
766
-            function ($type, $line) {
766
+            function($type, $line) {
767 767
                 $this->line($line);
768 768
             }
769 769
         );
@@ -808,7 +808,7 @@  discard block
 block discarded – undo
808 808
         $adminInfo = $this->defaultInfos['admin'];
809 809
 
810 810
         // email
811
-        $adminInfo['email'] = $this->askValidation('Email', $adminInfo['email'], function ($email) {
811
+        $adminInfo['email'] = $this->askValidation('Email', $adminInfo['email'], function($email) {
812 812
             $validate = \Validator::make(
813 813
                 ['email' => $email],
814 814
                 [
@@ -822,7 +822,7 @@  discard block
 block discarded – undo
822 822
         });
823 823
 
824 824
         // displayName
825
-        $adminInfo['displayName'] = $this->askValidation('Name', $adminInfo['displayName'], function ($displayName) {
825
+        $adminInfo['displayName'] = $this->askValidation('Name', $adminInfo['displayName'], function($displayName) {
826 826
             if (strlen(trim($displayName)) === 0) {
827 827
                 throw new \Exception('Input Name');
828 828
             }
Please login to merge, or discard this patch.
migrations/CategoryMigration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
     public function install()
11 11
     {
12
-        Schema::create('category', function (Blueprint $table) {
12
+        Schema::create('category', function(Blueprint $table) {
13 13
             $table->engine = "InnoDB";
14 14
 
15 15
             $table->increments('id');
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
             $table->integer('count');
18 18
         });
19 19
 
20
-        Schema::create('category_item', function (Blueprint $table) {
20
+        Schema::create('category_item', function(Blueprint $table) {
21 21
             $table->engine = "InnoDB";
22 22
 
23 23
             $table->increments('id');
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             $table->index('parentId');
32 32
         });
33 33
 
34
-        Schema::create('category_closure', function (Blueprint $table) {
34
+        Schema::create('category_closure', function(Blueprint $table) {
35 35
             $table->engine = "InnoDB";
36 36
 
37 37
             $table->bigIncrements('id');
Please login to merge, or discard this patch.
migrations/MenuMigration.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function install()
18 18
     {
19
-        Schema::create('menu', function (Blueprint $table) {
19
+        Schema::create('menu', function(Blueprint $table) {
20 20
             $table->engine = "InnoDB";
21 21
 
22 22
             $table->string('id', 8);
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             $table->primary('id');
29 29
         });
30 30
 
31
-        Schema::create('menu_item', function (Blueprint $table) {
31
+        Schema::create('menu_item', function(Blueprint $table) {
32 32
             $table->engine = "InnoDB";
33 33
 
34 34
             $table->string('id', 8);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $table->primary('id');
47 47
         });
48 48
 
49
-        Schema::create('menu_closure', function (Blueprint $table) {
49
+        Schema::create('menu_closure', function(Blueprint $table) {
50 50
             $table->engine = "InnoDB";
51 51
 
52 52
             $table->increments('id');
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
     {
196 196
         /** @var ThemeHandler $themeHandler */
197 197
         $themeHandler = app('xe.theme');
198
-        $themeHandler->setThemeConfig('alice', 'mainMenu', $mainMenu );
199
-        $themeHandler->setThemeConfig('alice', 'subMenu', $mainMenu );
198
+        $themeHandler->setThemeConfig('alice', 'mainMenu', $mainMenu);
199
+        $themeHandler->setThemeConfig('alice', 'subMenu', $mainMenu);
200 200
     }
201 201
 
202 202
     /**
Please login to merge, or discard this patch.
migrations/DocumentMigration.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function create($table, $revision = '')
23 23
     {
24 24
         // create documents table
25
-        Schema::create($table, function (Blueprint $table) {
25
+        Schema::create($table, function(Blueprint $table) {
26 26
             $table->engine = "InnoDB";
27 27
 
28 28
             $table->string('id', 255);
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         if ($revision != '') {
35 35
             // create revision table
36
-            Schema::create($revision, function (Blueprint $table) {
36
+            Schema::create($revision, function(Blueprint $table) {
37 37
                 $table->engine = "InnoDB";
38 38
 
39 39
                 $table->string('revisionId', 255);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function createDivision(Builder $schema, $table)
56 56
     {
57
-        $schema->create($table, function (Blueprint $table) {
57
+        $schema->create($table, function(Blueprint $table) {
58 58
             $table->engine = "InnoDB";
59 59
 
60 60
             $table->string('id', 255);
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $table->string('userType', '16')->default('normal');
80 80
         $table->string('userId', 255);
81 81
         $table->string('writer', 255);
82
-        $table->string('email')->nullable();  // 비회원 작성일때 email 받기?
82
+        $table->string('email')->nullable(); // 비회원 작성일때 email 받기?
83 83
         $table->string('certifyKey', 255); // nonmember document's password
84 84
 
85 85
         // count
Please login to merge, or discard this patch.