Test Failed
Pull Request — master (#188)
by Wilmer
03:49
created
src/Command/HelloCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 use Symfony\Component\Console\Output\OutputInterface;
11 11
 use Yiisoft\Yii\Console\ExitCode;
12 12
 
13
-#[AsCommand(name: 'hello', description: 'An example command', hidden: false)]
13
+#[AsCommand(name: 'hello', description: 'An example command', hidden: false) ]
14 14
 final class HelloCommand extends Command
15 15
 {
16 16
     protected function execute(InputInterface $input, OutputInterface $output): int
Please login to merge, or discard this patch.
src/Http/ExceptionMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             return $this->dataResponseFactory->createResponse($e->getMessage(), $e->getCode());
28 28
         } catch (InputValidationException $e) {
29 29
             return $this->dataResponseFactory->createResponse(
30
-                $e->getResult()->getErrorMessages()[0],
30
+                $e->getResult()->getErrorMessages()[ 0 ],
31 31
                 Status::BAD_REQUEST
32 32
             );
33 33
         }
Please login to merge, or discard this patch.
src/Http/ApiResponseFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function format(DataResponse $dataResponse): ResponseInterface
19 19
     {
20
-        $response = $dataResponse->withData(
20
+        $response=$dataResponse->withData(
21 21
             $this->apiResponseDataFactory
22 22
                 ->createFromResponse($dataResponse)
23 23
                 ->toArray(),
Please login to merge, or discard this patch.