Passed
Push — master ( 6fb12e...3576c0 )
by Enjoys
21:07 queued 18:59
created
src/ValueHandler/EnvValueHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 
20 20
         return preg_replace_callback(
21 21
             '/(%)([A-Z_]+)(%)/',
22
-            function (array $matches) {
22
+            function(array $matches) {
23 23
                 return
24 24
                     $_ENV[$matches[2]]
25 25
                     ?? $_SERVER[$matches[2]]
26
-                    ?? (getenv($matches[2]) === false ? $matches[1] . $matches[2] . $matches[3] : getenv($matches[2]));
26
+                    ?? (getenv($matches[2]) === false ? $matches[1].$matches[2].$matches[3] : getenv($matches[2]));
27 27
             },
28 28
             $input
29 29
         ) ?? '';
Please login to merge, or discard this patch.
src/ValueHandler/DefinedConstantsValueHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
     {
19 19
         return preg_replace_callback(
20 20
             '/(%)(.+)(%)/',
21
-            function ($matches) {
21
+            function($matches) {
22 22
                 if (\defined($matches[2])) {
23 23
                     return constant($matches[2]);
24 24
                 }
25
-                return $matches[1] . $matches[2] . $matches[3];
25
+                return $matches[1].$matches[2].$matches[3];
26 26
             },
27 27
             $input
28 28
         ) ?? '';
Please login to merge, or discard this patch.