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
Pull Request — develop (#1)
by Hugues
05:40
created
ReflectionClass.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@  discard block
 block discarded – undo
22 22
         InjectionStrategies $injectionStrategies = null,
23 23
         InstanciatorInterface $instanciator = null
24 24
     ) {
25
-        $injectionStrategies = $injectionStrategies ?? new DefaultInjectionStrategies();
25
+        $injectionStrategies = $injectionStrategies ? ? new DefaultInjectionStrategies();
26 26
 
27 27
         $this->class = $class;
28
-        $this->properties = $properties ?? new Collection([]);
28
+        $this->properties = $properties ? ? new Collection([]);
29 29
         $this->injectionStrategies = $injectionStrategies;
30
-        $this->instanciator = $instanciator ?? new ReflectionInstanciator;
30
+        $this->instanciator = $instanciator ? ? new ReflectionInstanciator;
31 31
     }
32 32
 
33 33
     /**
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         $properties = $this
110 110
             ->properties
111 111
             ->filter(
112
-                function ($value, $property) use ($parameters) {
112
+                function($value, $property) use ($parameters) {
113 113
                     return !$parameters->contains($property);
114 114
                 }
115 115
             );
Please login to merge, or discard this patch.
ReflectionObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
             throw new InvalidArgumentException;
29 29
         }
30 30
 
31
-        $this->injectionStrategies = $injectionStrategies ?? new DefaultInjectionStrategies();
32
-        $this->extractionStrategies = $extractionStrategies ?? new DefaultExtractionStrategies();
31
+        $this->injectionStrategies = $injectionStrategies ? ? new DefaultInjectionStrategies();
32
+        $this->extractionStrategies = $extractionStrategies ? ? new DefaultExtractionStrategies();
33 33
 
34 34
         $this->object = $object;
35 35
 
36
-        $this->properties = $properties ?? new Collection([]);
36
+        $this->properties = $properties ? ? new Collection([]);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
Cache/StrategyCachingCapabilities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     private function getCachedStrategy(string $class, string $key)
23 23
     {
24
-        return self::$strategyCache[$this->getCacheKey($class, $key)] ?? null;
24
+        return self::$strategyCache[$this->getCacheKey($class, $key)] ? ? null;
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.