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 ( 0cd4df...2a3d42 )
by Dirk
09:09 queued 05:54
created
src/Pinterest/Transport/Response.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace DirkGroenen\Pinterest\Transport;
12 12
 
13 13
 use DirkGroenen\Pinterest\Utils\CurlBuilder;
14
-use DirkGroenen\Pinterest\Exceptions\PinterestException;
15 14
 
16 15
 class Response {
17 16
 
Please login to merge, or discard this patch.
src/Pinterest/Endpoints/Users.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright 2015 Dirk Groenen
4
- *
5
- * (c) Dirk Groenen <[email protected]>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Copyright 2015 Dirk Groenen
4
+     *
5
+     * (c) Dirk Groenen <[email protected]>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace DirkGroenen\Pinterest\Endpoints;
12 12
 
Please login to merge, or discard this patch.
src/Pinterest/Auth/PinterestOAuth.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace DirkGroenen\Pinterest\Transport;
12 12
 
13 13
 use DirkGroenen\Pinterest\Utils\CurlBuilder;
14
-use DirkGroenen\Pinterest\Exceptions\PinterestException;
15 14
 
16 15
 class Response {
17 16
 
Please login to merge, or discard this patch.
src/Pinterest/Transport/Request.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright 2015 Dirk Groenen
4
- *
5
- * (c) Dirk Groenen <[email protected]>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Copyright 2015 Dirk Groenen
4
+     *
5
+     * (c) Dirk Groenen <[email protected]>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace DirkGroenen\Pinterest\Endpoints;
12 12
 
Please login to merge, or discard this patch.
src/Pinterest/Endpoints/Boards.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright 2015 Dirk Groenen
4
- *
5
- * (c) Dirk Groenen <[email protected]>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Copyright 2015 Dirk Groenen
4
+     *
5
+     * (c) Dirk Groenen <[email protected]>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace DirkGroenen\Pinterest\Endpoints;
12 12
 
Please login to merge, or discard this patch.
src/Pinterest/Endpoints/Endpoint.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright 2015 Dirk Groenen
4
- *
5
- * (c) Dirk Groenen <[email protected]>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Copyright 2015 Dirk Groenen
4
+     *
5
+     * (c) Dirk Groenen <[email protected]>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace DirkGroenen\Pinterest\Endpoints;
12 12
 
Please login to merge, or discard this patch.
src/Pinterest/Endpoints/Pins.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright 2015 Dirk Groenen
4
- *
5
- * (c) Dirk Groenen <[email protected]>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Copyright 2015 Dirk Groenen
4
+     *
5
+     * (c) Dirk Groenen <[email protected]>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace DirkGroenen\Pinterest\Endpoints;
12 12
 
Please login to merge, or discard this patch.
src/Pinterest/Models/Model.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,15 +43,15 @@  discard block
 block discarded – undo
43 43
      * @param  Pinterest  $master
44 44
      * @param  mixed      $modeldata
45 45
      */
46
-    public function __construct( Pinterest $master, $modeldata = null )
46
+    public function __construct(Pinterest $master, $modeldata = null)
47 47
     {
48 48
         $this->master = $master;
49 49
 
50 50
         // Fill the model
51
-        if( is_array($modeldata) ){
51
+        if (is_array($modeldata)) {
52 52
             $this->fill($modeldata);
53 53
         }
54
-        else if( $modeldata instanceof \DirkGroenen\Pinterest\Transport\Response ){
54
+        else if ($modeldata instanceof \DirkGroenen\Pinterest\Transport\Response) {
55 55
             $this->fill($modeldata->data);
56 56
         }
57 57
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         $array = array();
138 138
 
139
-        foreach($this->fillable as $key){
139
+        foreach ($this->fillable as $key) {
140 140
             $array[$key] = $this->{$key};
141 141
         }
142 142
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
         // Fill the model
51 51
         if( is_array($modeldata) ){
52 52
             $this->fill($modeldata);
53
-        }
54
-        else if( $modeldata instanceof \DirkGroenen\Pinterest\Transport\Response ){
53
+        } else if( $modeldata instanceof \DirkGroenen\Pinterest\Transport\Response ){
55 54
             $this->fill($modeldata->data);
56 55
         }
57 56
     }
@@ -81,8 +80,7 @@  discard block
 block discarded – undo
81 80
     {
82 81
         if ($this->isFillable($key)) {
83 82
             $this->attributes[$key] = $value;
84
-        }
85
-        else {
83
+        } else {
86 84
             throw new PinterestException(sprintf("%s is not a fillable attribute.", $key));
87 85
         }
88 86
     }
Please login to merge, or discard this patch.