Completed
Push — master ( b327e0...e412c0 )
by Basil
02:28
created
core/messages/pl/luya.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
- return [
2
+    return [
3 3
     '{attribute} must have a minimum length of {length} characters.' => '{attribute} musi mieć co najmniej {length} znaków.',
4 4
     '{attribute} must include at least one special character.' => '{attribute} musi zawierać przynajmniej jeden znak specjalny.',
5 5
     '{attribute} must include at least one digit.' => '{attribute} musi zawierać co najmniej jedną cyfrę.',
Please login to merge, or discard this patch.
core/web/Controller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,15 +34,15 @@
 block discarded – undo
34 34
         if ($this->module instanceof Module) {
35 35
 
36 36
             if ($this->module->useAppViewPath) {
37
-                return '@app/views/' . $this->module->id . '/' . $this->id;
37
+                return '@app/views/'.$this->module->id.'/'.$this->id;
38 38
             } elseif (is_array($this->module->viewMap)) {
39 39
 
40
-                $currentAction = $this->id . '/' . ($this->action ? $this->action->id : $this->defaultAction);
40
+                $currentAction = $this->id.'/'.($this->action ? $this->action->id : $this->defaultAction);
41 41
                 foreach ($this->module->viewMap as $action => $viewPath) {
42 42
 
43 43
                     // Special case for map all views of controller
44 44
                     if ($action === '*') {
45
-                        return $viewPath . '/' . $this->id;
45
+                        return $viewPath.'/'.$this->id;
46 46
                     } elseif (fnmatch($action, $currentAction)) {
47 47
                         return $viewPath;
48 48
                     }
Please login to merge, or discard this patch.
dev/TranslationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $messageFiles = glob("$repoPath/src/**/messages/$language/$filename.php") ?: glob("$repoPath/src/messages/$language/$filename.php");
42 42
 
43 43
         $this->outputInfo('Following files will be affected:');
44
-        $this->output(implode("\n", $messageFiles) . "\n");
44
+        $this->output(implode("\n", $messageFiles)."\n");
45 45
 
46 46
         $key = $this->prompt('Insert translation key:');
47 47
         $text = $this->prompt('Insert translation text:');
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         if (!$this->dry) {
61 61
             if (exec("[ -d $repoPath/.git ] && command -v git")) {
62
-                $diffCommand = "git --git-dir=$repoPath/.git --work-tree=$repoPath diff -- " . str_replace($repoPath . '/', '', implode(" ", $messageFiles));
62
+                $diffCommand = "git --git-dir=$repoPath/.git --work-tree=$repoPath diff -- ".str_replace($repoPath.'/', '', implode(" ", $messageFiles));
63 63
                 exec($diffCommand, $diff);
64 64
                 $this->output(implode("\n", $diff));
65 65
             }
Please login to merge, or discard this patch.