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 — develop ( 366021...222b88 )
by Baptiste
02:10
created
ReflectionObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         $this->object = $object;
32 32
 
33
-        $this->properties = $properties ?? new Collection([]);
33
+        $this->properties = $properties ? ? new Collection([]);
34 34
         $this->initInjectionStrategies($injectionStrategies);
35 35
     }
36 36
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     private function initInjectionStrategies(TypedCollectionInterface $strategies = null)
134 134
     {
135
-        $strategies = $strategies ?? new TypedCollection(
135
+        $strategies = $strategies ? ? new TypedCollection(
136 136
             InjectionStrategyInterface::class,
137 137
             [
138 138
                 new SetterStrategy,
Please login to merge, or discard this patch.
ReflectionClass.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
         InstanciatorInterface $instanciator = null
27 27
     ) {
28 28
         $this->class = $class;
29
-        $this->properties = $properties ?? new Collection([]);
29
+        $this->properties = $properties ? ? new Collection([]);
30 30
         $this->initInjectionStrategies($injectionStrategies);
31
-        $this->instanciator = $instanciator ?? new ReflectionInstanciator;
31
+        $this->instanciator = $instanciator ? ? new ReflectionInstanciator;
32 32
     }
33 33
 
34 34
     /**
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         //avoid injecting the properties already used in the constructor
110 110
         $properties = $this
111 111
             ->properties
112
-            ->filter(function ($value, $property) use ($parameters) {
112
+            ->filter(function($value, $property) use ($parameters) {
113 113
                 return !$parameters->contains($property);
114 114
             });
115 115
         $refl = new ReflectionObject(
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      */
129 129
     private function initInjectionStrategies(TypedCollectionInterface $strategies = null)
130 130
     {
131
-        $strategies = $strategies ?? new TypedCollection(
131
+        $strategies = $strategies ? ? new TypedCollection(
132 132
             InjectionStrategyInterface::class,
133 133
             [
134 134
                 new SetterStrategy,
Please login to merge, or discard this patch.