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.
Passed
Branch master (dd1cc5)
by Fabrizio
03:49
created
Category
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
-    static public function times($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [])
86
+    static public 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
-    static public function retry($attempts = 1, Closure $closure, $delay = 0, $exception_targets = [])
99
+    static public 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
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         try {
115 115
             do { $response = $this->next(); } while ($this->counter > 0);
116 116
             return $response;
117
-        } catch(RetryLogicException $e) {
117
+        } catch (RetryLogicException $e) {
118 118
             if ($silent === true) {
119 119
                 return $e;
120 120
             }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         try {
132 132
             $this->errored = false;
133 133
             return $this->invokeUserFunction();
134
-        } catch ( Exception $e ) {
134
+        } catch (Exception $e) {
135 135
 
136 136
             $this->attempts_count++;
137 137
             $this->counter--;
Please login to merge, or discard this patch.