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
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.
resources/FieldSkins/Address/DefaultSkin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function settings(ConfigEntity $config = null, $view = 'dynamicField/address/default/createSkin')
37 37
     {
38
-        return View::make($view, ['config' => $config,])->render();
38
+        return View::make($view, ['config' => $config, ])->render();
39 39
     }
40 40
 
41 41
     /**
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
         }
119 119
 
120 120
         $current = '';
121
-        if (isset($inputs[$config->get('id') . 'Address1'])) {
122
-            $current = $inputs[$config->get('id') . 'Address1'];
121
+        if (isset($inputs[$config->get('id').'Address1'])) {
122
+            $current = $inputs[$config->get('id').'Address1'];
123 123
         }
124 124
 
125 125
         return View::make($view, [
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
 
143 143
         return sprintf(
144 144
             '%s %s',
145
-            $args[$config->get('id') . 'Address1'],
146
-            $args[$config->get('id') . 'Address2']
145
+            $args[$config->get('id').'Address1'],
146
+            $args[$config->get('id').'Address2']
147 147
         );
148 148
     }
149 149
 }
Please login to merge, or discard this patch.
resources/FieldTypes/Address.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,10 +89,10 @@
 block discarded – undo
89 89
     {
90 90
         $config = $this->config;
91 91
         foreach ($this->columns() as $column) {
92
-            $key = camel_case($config->get('id') . '_' . $column->name);
92
+            $key = camel_case($config->get('id').'_'.$column->name);
93 93
 
94 94
             if (isset($params[$key]) && $params[$key] != '') {
95
-                $query = $query->where($key, 'like', '%' . $params[$key] . '%');
95
+                $query = $query->where($key, 'like', '%'.$params[$key].'%');
96 96
             }
97 97
         }
98 98
 
Please login to merge, or discard this patch.
core/src/Xpressengine/Media/Models/Image.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public static function getThumbnail(Media $media, $type, $dimension, $defaultSelf = true)
65 65
     {
66 66
         $image = static::derives($media) //->where('type', $type)->where('code', $dimension)->first();
67
-            ->whereHas('meta', function ($query) use ($type, $dimension) {
67
+            ->whereHas('meta', function($query) use ($type, $dimension) {
68 68
                 $query->where('type', $type)->where('code', $dimension);
69 69
             })->with('meta')->first();
70 70
 
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
     public function render(array $option = [])
99 99
     {
100 100
         if (isset($option['responsive']) && $option['responsive'] === true) {
101
-            return '<img src="' . $this->url() . '" style="max-width: 100%" />';
101
+            return '<img src="'.$this->url().'" style="max-width: 100%" />';
102 102
         }
103 103
 
104 104
         $width = Arr::get($option, 'width') ?: $this->width;
105 105
         $height = Arr::get($option, 'height') ?: $this->height;
106 106
 
107
-        return '<img src="' . $this->url() . '" width="' . $width . '" height="' . $height . '" />';
107
+        return '<img src="'.$this->url().'" width="'.$width.'" height="'.$height.'" />';
108 108
     }
109 109
 
110 110
     /**
Please login to merge, or discard this patch.
core/src/Xpressengine/Support/Tree/NodePositionTrait.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
         $descendant = $item->getDescendantName();
45 45
         $depth = $item->getDepthName();
46 46
 
47
-        $select = $conn->table($table . ' as a')
48
-            ->joinWhere($table . ' as d', "d.{$ancestor}", '=', $item->getKey())
47
+        $select = $conn->table($table.' as a')
48
+            ->joinWhere($table.' as d', "d.{$ancestor}", '=', $item->getKey())
49 49
             ->where("a.{$descendant}", '=', $parent->getKey())
50 50
             ->select([
51 51
                 "a.{$ancestor}",
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         $bindings = $select->getBindings();
57 57
 
58
-        $insertQuery = sprintf("insert into %s (`{$ancestor}`, `{$descendant}`, `{$depth}`) ", $prefix . $table)
58
+        $insertQuery = sprintf("insert into %s (`{$ancestor}`, `{$descendant}`, `{$depth}`) ", $prefix.$table)
59 59
             . $select->toSql();
60 60
 
61 61
         return $conn->insert($insertQuery, $bindings);
@@ -75,12 +75,12 @@  discard block
 block discarded – undo
75 75
         $ancestor = $item->getAncestorName();
76 76
         $descendant = $item->getDescendantName();
77 77
 
78
-        $rows = $conn->table($table . ' as a')
79
-            ->join($table . ' as rel', "a.{$ancestor}", '=', "rel.{$ancestor}")
80
-            ->join($table . ' as d', "d.{$descendant}", '=', "rel.{$descendant}")
78
+        $rows = $conn->table($table.' as a')
79
+            ->join($table.' as rel', "a.{$ancestor}", '=', "rel.{$ancestor}")
80
+            ->join($table.' as d', "d.{$descendant}", '=', "rel.{$descendant}")
81 81
             ->where("a.{$descendant}", $parent->getKey())
82 82
             ->where("d.{$ancestor}", $item->getKey())
83
-            ->get(['rel.' . $item->getKeyName()]);
83
+            ->get(['rel.'.$item->getKeyName()]);
84 84
 
85 85
         $ids = array_column($rows, $item->getKeyName());
86 86
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $position = $position !== null ? $position : count($children);
107 107
 
108 108
         /** @var Collection $children */
109
-        $children = $children->filter(function (Node $model) use ($item) {
109
+        $children = $children->filter(function(Node $model) use ($item) {
110 110
             return $model->getKey() != $item->getKey();
111 111
         });
112 112
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             ->merge([$item])
115 115
             ->merge($children->slice($position));
116 116
 
117
-        $children->each(function (Node $model, $idx) {
117
+        $children->each(function(Node $model, $idx) {
118 118
             $model->{$model->getOrderKeyName()} = $idx;
119 119
             $model->save();
120 120
         });
Please login to merge, or discard this patch.
core/src/Xpressengine/Menu/MenuHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -628,12 +628,12 @@  discard block
 block discarded – undo
628 628
     protected function menuKeyString($value)
629 629
     {
630 630
         if ($value instanceof MenuItem) {
631
-            $string = $value->menu->getKey() . '.' . implode('.', $value->getBreadcrumbs());
631
+            $string = $value->menu->getKey().'.'.implode('.', $value->getBreadcrumbs());
632 632
         } else {
633 633
             $string = $value;
634 634
         }
635 635
 
636
-        return $this->menuKeyword . '.' . $string;
636
+        return $this->menuKeyword.'.'.$string;
637 637
     }
638 638
 
639 639
     /**
@@ -749,7 +749,7 @@  discard block
 block discarded – undo
749 749
      */
750 750
     protected function permKeyString(MenuItem $item)
751 751
     {
752
-        return $item->menu->getKey() . '.' . implode('.', $item->getBreadcrumbs());
752
+        return $item->menu->getKey().'.'.implode('.', $item->getBreadcrumbs());
753 753
     }
754 754
 
755 755
     /**
@@ -782,7 +782,7 @@  discard block
 block discarded – undo
782 782
      */
783 783
     public function setModel($model)
784 784
     {
785
-        $this->model = '\\' . ltrim($model, '\\');
785
+        $this->model = '\\'.ltrim($model, '\\');
786 786
     }
787 787
 
788 788
     /**
Please login to merge, or discard this patch.
core/src/Xpressengine/Menu/Models/MenuItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * @var array
77 77
      */
78
-    protected $fillable = ['parentId', 'title', 'url', 'description', 'target', 'type' , 'ordering', 'activated'];
78
+    protected $fillable = ['parentId', 'title', 'url', 'description', 'target', 'type', 'ordering', 'activated'];
79 79
 
80 80
     /**
81 81
      * Indicates if the model selected.
Please login to merge, or discard this patch.
core/src/Xpressengine/Category/Models/Category.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public static function setItemModel($model)
78 78
     {
79
-        static::$itemModel = '\\' . ltrim($model, '\\');
79
+        static::$itemModel = '\\'.ltrim($model, '\\');
80 80
     }
81 81
 
82 82
     /**
@@ -96,6 +96,6 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function getCountName()
98 98
     {
99
-        return 'count' ;
99
+        return 'count';
100 100
     }
101 101
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Category/CategoryHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,6 +333,6 @@
 block discarded – undo
333 333
      */
334 334
     public function setModel($model)
335 335
     {
336
-        $this->model = '\\' . ltrim($model, '\\');
336
+        $this->model = '\\'.ltrim($model, '\\');
337 337
     }
338 338
 }
Please login to merge, or discard this patch.