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 ( 5cf04a...7a5848 )
by Asao
01:37
created
src/Pager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      *
107 107
      * @API
108 108
      * @param array $query query like $_GET
109
-     * @param null  $path  path info
109
+     * @param string  $path  path info
110 110
      * @return Pager
111 111
      */
112 112
     public function withQuery(array $query, $path = null)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
                 $this->pagerKey => 1,
71 71
                 $this->limitKey => 20
72 72
             ];
73
-        $this->inputObject   = $inputObject;
73
+        $this->inputObject = $inputObject;
74 74
     }
75 75
 
76 76
     /**
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     public static function forge($name = '', array $default = [], $inputObject = null)
83 83
     {
84 84
         $self = new self($default, $inputObject);
85
-        $self->name = $name ?: 'pager-' . $name;
85
+        $self->name = $name ?: 'pager-'.$name;
86 86
         
87 87
         return $self;
88 88
     }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      */
158 158
     private function secureInput(array $query)
159 159
     {
160
-        $secure = $this->validator ?: function (&$v) {
160
+        $secure = $this->validator ?: function(&$v) {
161 161
             if (!is_string($v) && !is_numeric($v)) {
162 162
                 $v = '';
163 163
             } elseif (strpos($v, "\0") !== false) {
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     private function setSessionName($pathInfo)
209 209
     {
210 210
         $this->path = $pathInfo;
211
-        $this->name = $this->name ?: 'pager-' . md5($pathInfo);
211
+        $this->name = $this->name ?: 'pager-'.md5($pathInfo);
212 212
     }
213 213
 
214 214
     /**
Please login to merge, or discard this patch.
src/ToHtml/ToBootstrap3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return "<li><a href=\"{$href}\" >{$label}{$only}</a></li>\n";
79 79
     }
80 80
     
81
+    /**
82
+     * @param string $label
83
+     */
81 84
     private function liLabel(Page $p, $label)
82 85
     {
83 86
         return "<li class=\"{$p->isCurrent('disabled')}\"><a href=\"{$p->isCurrent('#', $p->getUrl())}\" >{$label}</a></li>\n";
Please login to merge, or discard this patch.
src/Paginate/Page.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     public function __construct($key, $currPage, $page)
31 31
     {
32 32
         $this->pagerKey = $key;
33
-        $this->currPage = (int) $currPage;
34
-        $this->page = (int) $page;
33
+        $this->currPage = (int)$currPage;
34
+        $this->page = (int)$page;
35 35
     }
36 36
 
37 37
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public function isCurrent($true = true, $false = false)
51 51
     {
52 52
         return $this->currPage === $this->page 
53
-            ? $true: $false;
53
+            ? $true : $false;
54 54
     }
55 55
 
56 56
     /**
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     public function isDisabled($true = true, $false = false)
62 62
     {
63 63
         return !$this->page
64
-            ? $true: $false;
64
+            ? $true : $false;
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
src/Paginate/Paginate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public function getIterator()
82 82
     {
83 83
         $pages = $this->calcPageList();
84
-        foreach($pages as $p) {
84
+        foreach ($pages as $p) {
85 85
             yield $p;
86 86
         }
87 87
     }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     private function calcStart()
114 114
     {
115
-        $half = (int) ($this->numLinks / 2);
115
+        $half = (int)($this->numLinks / 2);
116 116
         $start = max($this->currPage - $half, $this->firstPage + 1);
117 117
         $maybe = max($this->lastPage - 1 - $this->numLinks, $this->firstPage + 1);
118 118
         $start = min($start, $maybe);
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function calcLast()
141 141
     {
142
-        $numLinks = $this->numLinks - 1 + ($this->getExtraStart() ? 0: 1);
142
+        $numLinks = $this->numLinks - 1 + ($this->getExtraStart() ? 0 : 1);
143 143
         $last = min($this->calcStart() + $numLinks, $this->lastPage - 1);
144 144
         return $last;
145 145
     }
Please login to merge, or discard this patch.
src/ToHtml/ToBootstrap4.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return "<li class='page-item'><a class='page-link' href=\"{$href}\" >{$label}{$only}</a></li>\n";
79 79
     }
80 80
     
81
+    /**
82
+     * @param string $label
83
+     */
81 84
     private function liLabel(Page $p, $label)
82 85
     {
83 86
         return "<li class=\"{$p->isCurrent('disabled')}\"><a class='page-link' href=\"{$p->isCurrent('#', $p->getUrl())}\" >{$label}</a></li>\n";
Please login to merge, or discard this patch.
src/Inputs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
             return $this->path;
186 186
         }
187 187
         $page = (int)$page;
188
-        return $this->path . '?' . $this->pagerKey . '=' . $page;
188
+        return $this->path.'?'.$this->pagerKey.'='.$page;
189 189
     }
190 190
 
191 191
     /**
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     {
204 204
         $class = $this->defaultToHtml;
205 205
         $toHtml = new $class(Paginate::forge($this));
206
-        return (string) $toHtml;
206
+        return (string)$toHtml;
207 207
     }
208 208
 
209 209
     /**
Please login to merge, or discard this patch.