Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — master (#536)
by
unknown
21:29
created
src/Generator/TypeGenerator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -299,14 +299,14 @@  discard block
 block discarded – undo
299 299
         $code = $this->processTemplatePlaceHoldersReplacements('ValidatorCode', $rules, self::DEFERRED_PLACEHOLDERS);
300 300
         $code = \ltrim($this->prefixCodeWithSpaces($code, 2));
301 301
 
302
-        return $code . "\n\n<spaces><spaces>";
302
+        return $code."\n\n<spaces><spaces>";
303 303
     }
304 304
 
305 305
     protected function generateClassValidation(array $config): string
306 306
     {
307 307
         $config = $config['class'] ?? $config['validation'] ?? null;
308 308
 
309
-        if(!$config) return 'null';
309
+        if (!$config) return 'null';
310 310
 
311 311
         $code = $this->processTemplatePlaceHoldersReplacements('ValidationConfig', $config, self::DEFERRED_PLACEHOLDERS);
312 312
         $code = \ltrim($this->prefixCodeWithSpaces($code, 2));
@@ -351,11 +351,11 @@  discard block
 block discarded – undo
351 351
     {
352 352
         $constraints = $values['constraints'] ?? $values['validation']['constraints'] ?? null;
353 353
 
354
-        if(!is_array($constraints)) {
354
+        if (!is_array($constraints)) {
355 355
             return 'null';
356 356
         }
357 357
 
358
-        $this->addUseStatement(Assert::class . ' as Assert');
358
+        $this->addUseStatement(Assert::class.' as Assert');
359 359
 
360 360
         $code = '';
361 361
         foreach ($constraints as $key => $constraint) {
@@ -393,9 +393,9 @@  discard block
 block discarded – undo
393 393
 
394 394
         // Security constraint
395 395
         if ('UserPassword' === $name) {
396
-            $FQCN   = SecurityAssert::class . "\\$name";
396
+            $FQCN   = SecurityAssert::class."\\$name";
397 397
             $prefix = 'SecurityAssert\\';
398
-            $this->addUseStatement(SecurityAssert::class . ' as SecurityAssert');
398
+            $this->addUseStatement(SecurityAssert::class.' as SecurityAssert');
399 399
         }
400 400
         // Custom constraint
401 401
         else if (false !== strpos($name, '\\')) {
@@ -408,10 +408,10 @@  discard block
 block discarded – undo
408 408
         // Standart constraint
409 409
         else {
410 410
             $prefix = 'Assert\\';
411
-            $FQCN   = Assert::class . "\\$name";
411
+            $FQCN   = Assert::class."\\$name";
412 412
         }
413 413
 
414
-        if(!class_exists($FQCN)) {
414
+        if (!class_exists($FQCN)) {
415 415
             throw new RuntimeException("Constraint class '$FQCN' doesn't exist.");
416 416
         }
417 417
 
@@ -555,7 +555,7 @@  discard block
 block discarded – undo
555 555
             ;
556 556
 
557 557
             if ($value !== end($array)) {
558
-                $code .=  ', ';
558
+                $code .= ', ';
559 559
             }
560 560
         }
561 561
 
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
         $properties = [];
613 613
 
614 614
         foreach ($value['args'] ?? [] as $name => $arg) {
615
-            if(empty($arg['validation'])) {
615
+            if (empty($arg['validation'])) {
616 616
                 $properties[$name] = null;
617 617
                 continue;
618 618
             }
Please login to merge, or discard this patch.
src/Validator/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $error = $event->getError()->getPrevious();
18 18
 
19
-        if($error instanceof ArgumentsValidationException)
19
+        if ($error instanceof ArgumentsValidationException)
20 20
         {
21 21
             $state = [];
22 22
             $code  = [];
Please login to merge, or discard this patch.
src/Validator/ValidationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         $current = $this->__parent;
127 127
 
128 128
         while (null !== $current) {
129
-            if($current->getName() === $name) {
129
+            if ($current->getName() === $name) {
130 130
                 return $current;
131 131
             } else {
132 132
                 $current = $current->getParent();
Please login to merge, or discard this patch.
src/Validator/InputValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $this->resolverArgs      = $this->mapResolverArgs($resolverArgs);
88 88
         $this->info              = $this->resolverArgs['info'];
89 89
         $this->constraintMapping = $mapping;
90
-        $this->validator 	     = $validator;
90
+        $this->validator = $validator;
91 91
         $this->validatorFactory  = $factory;
92 92
         $this->metadataFactory   = new MetadataFactory();
93 93
     }
Please login to merge, or discard this patch.