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 ( 2933de...ffcf9e )
by Odiseo
03:31
created
src/Model/Vendor.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
     {
223 223
         $this->logoFile = $file;
224 224
 
225
-        if($file)
225
+        if ($file)
226 226
         {
227 227
             $this->setUpdatedAt(new \DateTime());
228 228
         }
Please login to merge, or discard this patch.
Braces   +12 added lines, -8 removed lines patch added patch discarded remove patch
@@ -155,8 +155,9 @@  discard block
 block discarded – undo
155 155
         if (!$this->channels->contains($channel)) {
156 156
             $this->channels->add($channel);
157 157
 
158
-            if ($channel instanceof VendorsAwareInterface)
159
-                $channel->addVendor($this);
158
+            if ($channel instanceof VendorsAwareInterface) {
159
+                            $channel->addVendor($this);
160
+            }
160 161
         }
161 162
     }
162 163
 
@@ -168,8 +169,9 @@  discard block
 block discarded – undo
168 169
         if ($this->channels->contains($channel)) {
169 170
             $this->channels->removeElement($channel);
170 171
 
171
-            if ($channel instanceof VendorsAwareInterface)
172
-                $channel->removeVendor($this);
172
+            if ($channel instanceof VendorsAwareInterface) {
173
+                            $channel->removeVendor($this);
174
+            }
173 175
         }
174 176
     }
175 177
 
@@ -197,8 +199,9 @@  discard block
 block discarded – undo
197 199
         if (!$this->products->contains($product)) {
198 200
             $this->products->add($product);
199 201
 
200
-            if ($product instanceof VendorsAwareInterface)
201
-                $product->addVendor($this);
202
+            if ($product instanceof VendorsAwareInterface) {
203
+                            $product->addVendor($this);
204
+            }
202 205
         }
203 206
     }
204 207
 
@@ -210,8 +213,9 @@  discard block
 block discarded – undo
210 213
         if ($this->products->contains($product)) {
211 214
             $this->products->removeElement($product);
212 215
 
213
-            if ($product instanceof VendorsAwareInterface)
214
-                $product->removeVendor($this);
216
+            if ($product instanceof VendorsAwareInterface) {
217
+                            $product->removeVendor($this);
218
+            }
215 219
         }
216 220
     }
217 221
 
Please login to merge, or discard this patch.
src/Model/VendorsTrait.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
     public function addVendor(VendorInterface $vendor)
32 32
     {
33
-        if(!$this->vendors->contains($vendor)) {
33
+        if (!$this->vendors->contains($vendor)) {
34 34
             $this->vendors->add($vendor);
35 35
         }
36 36
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function removeVendor(VendorInterface $vendor)
42 42
     {
43
-        if($this->vendors->contains($vendor)) {
43
+        if ($this->vendors->contains($vendor)) {
44 44
             $this->vendors->removeElement($vendor);
45 45
         }
46 46
     }
Please login to merge, or discard this patch.