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 ( 30729a...fdce27 )
by Asao
01:18
created
src/Inputs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
             return $this->path;
181 181
         }
182 182
         $page = (int)$page;
183
-        return $this->path . '?' . $this->pagerKey . '=' . $page;
183
+        return $this->path.'?'.$this->pagerKey.'='.$page;
184 184
     }
185 185
 
186 186
     /**
@@ -197,6 +197,6 @@  discard block
 block discarded – undo
197 197
     public function __toString()
198 198
     {
199 199
         $toHtml = new ToBootstrap3(Paginate::forge($this));
200
-        return (string) $toHtml;
200
+        return (string)$toHtml;
201 201
     }
202 202
 }
203 203
\ No newline at end of file
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.