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 ( 60fd48...86121d )
by
unknown
10s
created
src/Replay.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * @var array
58 58
      */
59
-    protected $exception_targets = [Exception::class];
59
+    protected $exception_targets = [ Exception::class ];
60 60
 
61 61
     /**
62 62
      * Retry constructor.
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @param int     $delay
67 67
      * @param array   $exception_targets
68 68
      */
69
-    public function __construct($retries = 1, Closure $closure, $delay = 0, $exception_targets = [])
69
+    public function __construct($retries = 1, Closure $closure, $delay = 0, $exception_targets = [ ])
70 70
     {
71 71
         $this->counter = $retries;
72 72
         $this->max_attempts_count = $retries;
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return static
85 85
      */
86
-    public static function times($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [])
86
+    public static function times($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [ ])
87 87
     {
88 88
         return new static($attempts, $closure, $delay, $exception_targets);
89 89
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @return mixed
98 98
      */
99
-    public static function retry($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [])
99
+    public static function retry($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [ ])
100 100
     {
101 101
         return static::times($attempts, $closure, $delay, $exception_targets)->play();
102 102
     }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         try {
113 113
             do { $response = $this->next(); } while ($this->counter > 0);
114 114
             return $response;
115
-        } catch(RetryLogicException $e) {
115
+        } catch (RetryLogicException $e) {
116 116
             if ($silent === true) {
117 117
                 return $e;
118 118
             }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         try {
130 130
             $this->errored = false;
131 131
             return $this->invokeUserFunction();
132
-        } catch ( Exception $e ) {
132
+        } catch (Exception $e) {
133 133
 
134 134
             $this->attempts_count++;
135 135
             $this->counter--;
Please login to merge, or discard this patch.