Completed
Push — master ( e22550...e221c0 )
by Matze
03:25
created
src/Console/ServerRunCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,11 +64,11 @@
 block discarded – undo
64 64
 
65 65
         $process = $this->processBuilder
66 66
             ->setArguments([PHP_BINARY, '-S', $address])
67
-            ->setWorkingDirectory(ROOT . 'web/')
67
+            ->setWorkingDirectory(ROOT.'web/')
68 68
             ->setTimeout(null)
69 69
             ->getProcess();
70 70
 
71
-        $process->run(function ($type, $buffer) use ($output, $input) {
71
+        $process->run(function($type, $buffer) use ($output, $input) {
72 72
             unset($type);
73 73
             if (!$input->getOption('quiet')) {
74 74
                 $output->write($buffer);
Please login to merge, or discard this patch.
src/Console/TestCreateAllCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $serviceReflection = new ReflectionClass($serviceObject);
107 107
         $serviceNamespace  = $serviceReflection->getName();
108 108
 
109
-        $src = ROOT . $input->getArgument('root');
109
+        $src = ROOT.$input->getArgument('root');
110 110
         if (strpos($serviceReflection->getFileName(), $src) !== 0) {
111 111
             return;
112 112
         }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $testFileName = $this->getTestFileName($serviceNamespace);
115 115
 
116 116
         if (!file_exists($testFileName)) {
117
-            $output->writeln("create: <info>$serviceId</info> - <info>" . $serviceReflection->getFileName() . "<info>");
117
+            $output->writeln("create: <info>$serviceId</info> - <info>".$serviceReflection->getFileName()."<info>");
118 118
 
119 119
             $input = new ArrayInput(['command' => 'test:create', 'service' => $serviceId]);
120 120
             $this->getApplication()->run($input, $output);
Please login to merge, or discard this patch.
src/Console/TestCreateCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $methodProcessor->processMethod($methodCall, $testData);
95 95
         }
96 96
 
97
-        $template = file_get_contents(__DIR__ . '/../../scripts/phpunit_template.php.tpl');
97
+        $template = file_get_contents(__DIR__.'/../../scripts/phpunit_template.php.tpl');
98 98
         $template = str_replace(
99 99
             '%test_namespace%',
100 100
             $this->getTestNamespace($serviceReflection->getNamespaceName()),
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     private function getTestNamespace($serviceNamespace)
183 183
     {
184
-        return "Tests\\" . $serviceNamespace;
184
+        return "Tests\\".$serviceNamespace;
185 185
     }
186 186
 
187 187
     /**
Please login to merge, or discard this patch.
src/Console/SwaggerDumpCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @param array $routes
119
+     * @param Route[] $routes
120 120
      * @return array
121 121
      */
122 122
     protected function getResources(array $routes) : array
Please login to merge, or discard this patch.
src/DependencyInjection/CompilerPass/LocaleCompilerPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
         /** @var Glob $glob */
23 23
         $glob = $container->get('Glob');
24 24
 
25
-        $locales = $glob->execGlob(ROOT . 'lang/*.po');
26
-        $locales = array_map(function ($file) {
25
+        $locales = $glob->execGlob(ROOT.'lang/*.po');
26
+        $locales = array_map(function($file) {
27 27
             return basename($file, '.po');
28 28
         }, $locales);
29 29
 
Please login to merge, or discard this patch.