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 ( a9ce78...3cd954 )
by Sho
8s
created
src/Http/RequestV2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * @param $accessToken
11 11
      * @param null $apiVersion
12 12
      */
13
-    public function __construct($accessToken, $apiVersion = null)
13
+    public function __construct ($accessToken, $apiVersion = null)
14 14
     {
15 15
         parent::__construct($accessToken);
16 16
         $request_headers = ['Authorization' => 'ShippoToken ' . $accessToken];
Please login to merge, or discard this patch.
src/Http/Request.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     protected $delegated;
17 17
     private $mockContainer;
18 18
 
19
-    public function __construct($accessToken)
19
+    public function __construct ($accessToken)
20 20
     {
21 21
         $this->delegated = new Client(static::BASE_URI, [
22 22
             'request.options' => [
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $this->mockContainer = MockCollection::getInstance();
27 27
     }
28 28
 
29
-    public function post($endPoint, $body = [])
29
+    public function post ($endPoint, $body = [])
30 30
     {
31 31
         $this->mockFilter($endPoint);
32 32
         $request = $this->delegated->post($endPoint, null, $body);
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         return $guzzleResponse->json();
36 36
     }
37 37
 
38
-    public function postWithJsonBody($endPoint, $body = [])
38
+    public function postWithJsonBody ($endPoint, $body = [])
39 39
     {
40 40
         $this->mockFilter($endPoint);
41 41
         $request = $this->delegated->post($endPoint, ['Content-Type' => 'application/json']);
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         return $guzzleResponse->json();
46 46
     }
47 47
 
48
-    public function get($endPoint, $parameter = [])
48
+    public function get ($endPoint, $parameter = [])
49 49
     {
50 50
         $this->mockFilter($endPoint);
51 51
         $queryString = http_build_query($parameter);
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
         return $guzzleResponse->json();
56 56
     }
57 57
 
58
-    public function setDefaultOption($keyOrPath, $value)
58
+    public function setDefaultOption ($keyOrPath, $value)
59 59
     {
60 60
         $this->delegated->setDefaultOption($keyOrPath, $value);
61 61
     }
62 62
 
63
-    private function sendWithCheck(RequestInterface $request)
63
+    private function sendWithCheck (RequestInterface $request)
64 64
     {
65 65
         try {
66 66
             return $request->send();
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @param $endPoint
88 88
      */
89
-    private function mockFilter($endPoint)
89
+    private function mockFilter ($endPoint)
90 90
     {
91 91
         if ($this->mockContainer->has($endPoint)) {
92 92
             $this->delegated->addSubscriber($this->mockContainer->getMockResponse($endPoint));
Please login to merge, or discard this patch.
src/ShippoClientV2.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -22,52 +22,52 @@  discard block
 block discarded – undo
22 22
      */
23 23
     private static $instance = null;
24 24
 
25
-    private function __construct(RequestV2 $request)
25
+    private function __construct (RequestV2 $request)
26 26
     {
27 27
         $this->request = $request;
28 28
     }
29 29
 
30
-    public function addresses()
30
+    public function addresses ()
31 31
     {
32 32
         return new Addresses($this->request);
33 33
     }
34 34
 
35
-    public function parcels()
35
+    public function parcels ()
36 36
     {
37 37
         return new Parcels($this->request);
38 38
     }
39 39
 
40
-    public function shipments()
40
+    public function shipments ()
41 41
     {
42 42
         return new Shipments($this->request);
43 43
     }
44 44
 
45
-    public function rates()
45
+    public function rates ()
46 46
     {
47 47
         return new Rates($this->request);
48 48
     }
49 49
 
50
-    public function transactions()
50
+    public function transactions ()
51 51
     {
52 52
         return new Transactions($this->request);
53 53
     }
54 54
 
55
-    public function refunds()
55
+    public function refunds ()
56 56
     {
57 57
         return new Refunds($this->request);
58 58
     }
59 59
 
60
-    public function tracks()
60
+    public function tracks ()
61 61
     {
62 62
         return new Tracks($this->request);
63 63
     }
64 64
 
65
-    public function getAccessToken()
65
+    public function getAccessToken ()
66 66
     {
67 67
         return $this->accessToken;
68 68
     }
69 69
 
70
-    public function setRequestOption($keyOrPath, $value)
70
+    public function setRequestOption ($keyOrPath, $value)
71 71
     {
72 72
         $this->request->setDefaultOption($keyOrPath, $value);
73 73
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * @param null|string $apiVersion
80 80
      * @return static
81 81
      */
82
-    public static function provider($accessToken, $apiVersion = null)
82
+    public static function provider ($accessToken, $apiVersion = null)
83 83
     {
84 84
         if (static::$instance !== null && static::$instance->getAccessToken() === $accessToken) {
85 85
             return static::$instance;
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return static::$instance;
91 91
     }
92 92
 
93
-    public static function mock()
93
+    public static function mock ()
94 94
     {
95 95
         return MockCollection::getInstance();
96 96
     }
Please login to merge, or discard this patch.
src/Entity/EntityCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 abstract class EntityCollection extends \ArrayObject
8 8
 {
9
-    public function toArray()
9
+    public function toArray ()
10 10
     {
11 11
         $ret = [];
12 12
         /** @var ReadableAttributes $entity */
Please login to merge, or discard this patch.