Completed
Push — master ( 2aa4c0...d2f1f3 )
by Matze
06:57
created
src/Application/UrlMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $context = new RequestContext();
23 23
         $context->fromRequest($request);
24 24
 
25
-        include_once ROOT . 'cache/router_matcher.php';
25
+        include_once ROOT.'cache/router_matcher.php';
26 26
 
27 27
         $matcher = new ProjectUrlMatcher($context);
28 28
 
Please login to merge, or discard this patch.
src/Application/SessionHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function read($sessionId)
37 37
     {
38
-        if ($data = $this->client->get(self::KEY . $sessionId)) {
38
+        if ($data = $this->client->get(self::KEY.$sessionId)) {
39 39
             return $data;
40 40
         }
41 41
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function write($sessionId, $sessionData)
48 48
     {
49
-        $this->client->setex(self::KEY . $sessionId, $this->ttl, $sessionData);
49
+        $this->client->setex(self::KEY.$sessionId, $this->ttl, $sessionData);
50 50
 
51 51
         return true;
52 52
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function destroy($sessionId)
58 58
     {
59
-        $this->client->del(self::KEY . $sessionId);
59
+        $this->client->del(self::KEY.$sessionId);
60 60
 
61 61
         return true;
62 62
     }
Please login to merge, or discard this patch.
src/Index/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function index() : Response
24 24
     {
25
-        $response = file_get_contents(ROOT . '/web/index.html');
25
+        $response = file_get_contents(ROOT.'/web/index.html');
26 26
 
27 27
         return new Response($response);
28 28
     }
Please login to merge, or discard this patch.
src/Console/GraphvizDumpCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $dumper  = new GraphvizDumper($dic);
53 53
         $content = $dumper->dump();
54 54
 
55
-        file_put_contents(ROOT . 'cache/dic.gv', $content);
55
+        file_put_contents(ROOT.'cache/dic.gv', $content);
56 56
         exec('dot -Tpng cache/dic.gv -o cache/graph.png; rm cache/dic.gv');
57 57
 
58 58
         $output->writeln('PNG: <info>cache/graph.png</info>');
Please login to merge, or discard this patch.
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/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/Redis/Command/Import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     protected function handleImport(string $content)
52 52
     {
53
-        $redis   = $this->getRedis();
53
+        $redis = $this->getRedis();
54 54
 
55 55
         foreach (explode("\n", $content) as $line) {
56 56
             preg_match_all('/"(?:\\\\.|[^\\\\"])*"|\S+/', $line, $matches);
Please login to merge, or discard this patch.
src/Application/Locale.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 {
14 14
 
15 15
     const DOMAIN   = 'messages';
16
-    const LANG_DIR = ROOT . '/cache/lang/';
16
+    const LANG_DIR = ROOT.'/cache/lang/';
17 17
 
18 18
     /**
19 19
      * @var string[]
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function getTokens()
63 63
     {
64
-        return array_map(function (string $locale) {
65
-            return 'locale.' . $locale;
64
+        return array_map(function(string $locale) {
65
+            return 'locale.'.$locale;
66 66
         }, $this->locales);
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
src/DependencyInjection/CompilerPass/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         foreach ($logLevels as $file => $level) {
36 36
             $definition->addMethodCall('pushHandler', [
37 37
                 new Definition(StreamHandler::class, [
38
-                    $baseDir . $file,
38
+                    $baseDir.$file,
39 39
                     $level
40 40
                 ])
41 41
             ]);
Please login to merge, or discard this patch.