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 ( 19b66d...20da4a )
by
unknown
11:55 queued 12s
created
src/Controller/Action/ProductSearchAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         /** @var ProductInterface $product */
57 57
         foreach ($searchProducts as $product) {
58 58
             $productLabel = ucfirst(strtolower($product->getName()));
59
-            $isNew = count(array_filter($products, function ($product) use ($productLabel) {
59
+            $isNew = count(array_filter($products, function($product) use ($productLabel) {
60 60
                 return $product['name'] === $productLabel;
61 61
             })) === 0;
62 62
 
Please login to merge, or discard this patch.
src/Filter/QueryFilter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         /** @var \DateTime $startDateTime */
120 120
         $startDateTime = $configuration['timePeriod']['start'];
121 121
         /** @var \DateTime $endDateTime */
122
-        $endDateTime = $configuration['timePeriod']['end']?:new \DateTime();
122
+        $endDateTime = $configuration['timePeriod']['end'] ?: new \DateTime();
123 123
 
124 124
         $this->qb
125 125
             ->addSelect($groupByParts[0])
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         $type = 'user'.ucfirst($addressType).'Province';
213 213
 
214 214
         if (isset($configuration[$type]) && count($configuration[$type]) > 0) {
215
-            $provinces = $configuration[$type]->map(function (AddressInterface $address) {
215
+            $provinces = $configuration[$type]->map(function(AddressInterface $address) {
216 216
                 return $address->getProvinceCode() ?: $address->getProvinceName();
217 217
             })->toArray();
218 218
             $rootAlias = $cAlias = $this->qb->getRootAliases()[0];
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
         $type = 'user'.ucfirst($addressType).'City';
242 242
 
243 243
         if (isset($configuration[$type]) && count($configuration[$type]) > 0) {
244
-            $cities = $configuration[$type]->map(function (AddressInterface $address) {
244
+            $cities = $configuration[$type]->map(function(AddressInterface $address) {
245 245
                 return $address->getCity();
246 246
             })->toArray();
247 247
             $rootAlias = $cAlias = $this->qb->getRootAliases()[0];
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
         $type = 'user'.ucfirst($addressType).'Postcode';
268 268
 
269 269
         if (isset($configuration[$type]) && count($configuration[$type]) > 0) {
270
-            $codes = $configuration[$type]->map(function (AddressInterface $address) {
270
+            $codes = $configuration[$type]->map(function(AddressInterface $address) {
271 271
                 return $address->getPostcode();
272 272
             })->toArray();
273 273
             $rootAlias = $cAlias = $this->qb->getRootAliases()[0];
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     public function addProduct(array $configuration = [], string $field = 'p.id'): void
292 292
     {
293 293
         if (isset($configuration['product']) && count($configuration['product']) > 0) {
294
-            $products = $configuration['product']->map(function (ProductInterface $product) {
294
+            $products = $configuration['product']->map(function(ProductInterface $product) {
295 295
                 return $product->getId();
296 296
             })->toArray();
297 297
 
Please login to merge, or discard this patch.