We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | }) |
| 35 | 35 | ->end() |
| 36 | 36 | ->validate() |
| 37 | - ->always(function($value){ |
|
| 37 | + ->always(function ($value) { |
|
| 38 | 38 | if (empty($value['validationGroups'])) { |
| 39 | 39 | unset($value['validationGroups']); |
| 40 | 40 | } |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | $autoThrow = false; |
| 312 | 312 | $this->addUseStatement(ResolveErrors::class); |
| 313 | 313 | |
| 314 | - $extraCode .= '$errors = new ResolveErrors();' . "\n\n<spaces><spaces>"; |
|
| 314 | + $extraCode .= '$errors = new ResolveErrors();'."\n\n<spaces><spaces>"; |
|
| 315 | 315 | } |
| 316 | 316 | |
| 317 | 317 | if ($mapping) { |
@@ -319,8 +319,8 @@ discard block |
||
| 319 | 319 | $this->addInternalUseStatement(InputValidator::class); |
| 320 | 320 | } elseif (false === $autoValidation) { |
| 321 | 321 | throw new GeneratorException( |
| 322 | - "Unable to inject an instance of the InputValidator. No validation constraints provided. " . |
|
| 323 | - "Please remove the InputValidator argument from the list of dependencies of your " . |
|
| 322 | + "Unable to inject an instance of the InputValidator. No validation constraints provided. ". |
|
| 323 | + "Please remove the InputValidator argument from the list of dependencies of your ". |
|
| 324 | 324 | "resolver or provide validation configs." |
| 325 | 325 | ); |
| 326 | 326 | } |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | $code .= "\n\n<spaces><spaces>"; |
| 349 | 349 | |
| 350 | 350 | if ($groups) { |
| 351 | - $groups = "[" . \implode(",", \array_map(function($value) { return "'$value'"; }, $groups)) . "]"; |
|
| 351 | + $groups = "[".\implode(",", \array_map(function ($value) { return "'$value'"; }, $groups))."]"; |
|
| 352 | 352 | } else { |
| 353 | 353 | $groups = "null"; |
| 354 | 354 | } |