Completed
Push — master ( ad8ed5...365b59 )
by Matze
03:01
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/Application/RedisLock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $redis = $this->getRedis();
26 26
 
27
-        return $redis->set(self::PREFIX . $name, '1', 'EX', $lockTime, 'NX');
27
+        return $redis->set(self::PREFIX.$name, '1', 'EX', $lockTime, 'NX');
28 28
     }
29 29
 
30 30
     /**
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function unlock(string $name)
34 34
     {
35
-        $this->getRedis()->del(self::PREFIX . $name);
35
+        $this->getRedis()->del(self::PREFIX.$name);
36 36
     }
37 37
 }
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/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.
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.