Completed
Push — master ( c9ec0a...150272 )
by Matze
10:53 queued 05:11
created
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/Translation/CompilerPass.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 class CompilerPass implements CompilerPassInterface
16 16
 {
17 17
 
18
-    const CACHE_FILE = ROOT . 'cache/translation_token';
18
+    const CACHE_FILE = ROOT.'cache/translation_token';
19 19
 
20 20
     use FileCacheTrait;
21 21
 
@@ -55,16 +55,16 @@  discard block
 block discarded – undo
55 55
     {
56 56
         sort($tokens);
57 57
 
58
-        $contentPhp = sprintf("return [\n    %s\n];\n", implode(",\n    ", array_map(function ($token) {
58
+        $contentPhp = sprintf("return [\n    %s\n];\n", implode(",\n    ", array_map(function($token) {
59 59
             return sprintf('_("%s")', addslashes($token));
60 60
         }, $tokens)));
61 61
 
62
-        $contentHtml = sprintf("%s", implode("\n", array_map(function ($token) {
62
+        $contentHtml = sprintf("%s", implode("\n", array_map(function($token) {
63 63
             return sprintf('<span translate>%s</span>', addslashes($token));
64 64
         }, $tokens)));
65 65
 
66 66
         $this->dumpCacheFile(self::CACHE_FILE, $contentPhp);
67
-        file_put_contents(self::CACHE_FILE . '.html', $contentHtml);
68
-        chmod(self::CACHE_FILE . '.html', 0777);
67
+        file_put_contents(self::CACHE_FILE.'.html', $contentHtml);
68
+        chmod(self::CACHE_FILE.'.html', 0777);
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/Middleware/Authentication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function __construct(LoadUser $loadUser)
35 35
     {
36
-        $this->loadUser      = $loadUser;
36
+        $this->loadUser = $loadUser;
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
src/DependencyInjection/Rebuild.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
 
53 53
         $appFinder = new Finder();
54 54
         $appFinder->directories()
55
-            ->in([ROOT . 'vendor/brainexe/'])
55
+            ->in([ROOT.'vendor/brainexe/'])
56 56
             ->depth("<=1")
57 57
             ->name('src');
58 58
 
59
-        $annotationLoader->load(ROOT . 'src');
59
+        $annotationLoader->load(ROOT.'src');
60 60
 
61 61
         foreach ($appFinder as $dir) {
62 62
             /** @var SplFileInfo $dir */
@@ -72,9 +72,9 @@  discard block
 block discarded – undo
72 72
         $debug         = $container->getParameter('debug');
73 73
         $randomId      = mt_rand();
74 74
         $className     = sprintf('dic_%d', $randomId);
75
-        $containerFile = ROOT . 'cache/dic.php';
76
-        $versionFile   = ROOT . 'cache/dic.txt';
77
-        $configFile    = ROOT . 'cache/config.json';
75
+        $containerFile = ROOT.'cache/dic.php';
76
+        $versionFile   = ROOT.'cache/dic.txt';
77
+        $configFile    = ROOT.'cache/config.json';
78 78
 
79 79
         $dumper = new PhpDumper($container);
80 80
         $dumper->setProxyDumper(new ProxyDumper());
Please login to merge, or discard this patch.