Passed
Pull Request — master (#10)
by Anatoly
02:50
created
src/Command/GenerateOpenApiDocumentCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function execute(InputInterface $input, OutputInterface $output) : int
44 44
     {
45
-        $flags = JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE;
45
+        $flags = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
46 46
 
47 47
         $output->writeln(json_encode($this->container->get('openapi')->toArray(), $flags));
48 48
 
Please login to merge, or discard this patch.
config/container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 use DI\Container;
4 4
 use DI\ContainerBuilder;
5 5
 
6
-return (function () : Container {
7
-    $env = $_ENV['APP_ENV'] ?? 'dev';
6
+return (function() : Container {
7
+    $env = $_ENV[ 'APP_ENV' ] ?? 'dev';
8 8
 
9 9
     $builder = new ContainerBuilder();
10 10
     $builder->useAutowiring(true);
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 chdir(__DIR__ . '/..');
6 6
 
7 7
 // enables strict development mode...
8
-set_error_handler(function ($code, $message, $file, $line) {
8
+set_error_handler(function($code, $message, $file, $line) {
9 9
     throw new ErrorException($message, 0, $code, $file, $line);
10 10
 });
11 11
 
Please login to merge, or discard this patch.