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
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -306,7 +306,9 @@  discard block
 block discarded – undo
306 306
     {
307 307
         $config = $config['class'] ?? $config['validation'] ?? null;
308 308
 
309
-        if(!$config) return 'null';
309
+        if(!$config) {
310
+            return 'null';
311
+        }
310 312
 
311 313
         $code = $this->processTemplatePlaceHoldersReplacements('ValidationConfig', $config, self::DEFERRED_PLACEHOLDERS);
312 314
         $code = \ltrim($this->prefixCodeWithSpaces($code, 2));
@@ -573,7 +575,9 @@  discard block
 block discarded – undo
573 575
     protected static function isNumericArray(array $array): bool
574 576
     {
575 577
         foreach ($array as $k => $a) {
576
-            if (!is_int($k)) return false;
578
+            if (!is_int($k)) {
579
+                return false;
580
+            }
577 581
         }
578 582
         return true;
579 583
     }
Please login to merge, or discard this patch.
src/Validator/InputValidator.php 1 patch
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -170,7 +170,9 @@  discard block
 block discarded – undo
170 170
             }
171 171
 
172 172
             foreach ($params ?? [] as $key => $value) {
173
-                if (null === $value) continue;
173
+                if (null === $value) {
174
+                    continue;
175
+                }
174 176
 
175 177
                 switch ($key) {
176 178
                     case 'link':
@@ -186,9 +188,13 @@  discard block
 block discarded – undo
186 188
                         foreach ($propertyMetadata as $memberMetadata) {
187 189
                             // Allow only constraints specified by the "link" matcher
188 190
                             if (self::TYPE_GETTER === $type) {
189
-                                if (!$memberMetadata instanceof GetterMetadata) continue;
191
+                                if (!$memberMetadata instanceof GetterMetadata) {
192
+                                    continue;
193
+                                }
190 194
                             } else if (self::TYPE_PROPERTY === $type) {
191
-                                if (!$memberMetadata instanceof PropertyMetadata) continue;
195
+                                if (!$memberMetadata instanceof PropertyMetadata) {
196
+                                    continue;
197
+                                }
192 198
                             }
193 199
 
194 200
                             $metadata->addPropertyConstraints($property, $memberMetadata->getConstraints());
@@ -254,7 +260,9 @@  discard block
 block discarded – undo
254 260
     private function applyClassConstraints(ObjectMetadata $metadata, ?array $constraints)
255 261
     {
256 262
         foreach ($constraints ?? [] as $key => $value) {
257
-            if (null === $value) continue;
263
+            if (null === $value) {
264
+                continue;
265
+            }
258 266
 
259 267
             switch ($key) {
260 268
                 case 'link':
Please login to merge, or discard this patch.