Passed
Pull Request — master (#46)
by Korotkov
03:50
created
app/Ship/Commands/CreateMigrationCommand.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -141,15 +141,15 @@
 block discarded – undo
141 141
     }
142 142
 
143 143
         /**
144
-     * @param string $className
145
-     * @param string $container
146
-     * @param string $table
147
-     * @return string
148
-     *
149
-     * Creates class data
150
-     * ------------------
151
-     * Создает данные класса
152
-     */
144
+         * @param string $className
145
+         * @param string $container
146
+         * @param string $table
147
+         * @return string
148
+         *
149
+         * Creates class data
150
+         * ------------------
151
+         * Создает данные класса
152
+         */
153 153
     private function createSqliteMigration(string $className, string $table, string $namespace)
154 154
     {
155 155
         return <<<EOT
Please login to merge, or discard this patch.
app/Ship/Commands/BcryptCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
         Cli::printer("Enter password: ", "magneta");
19 19
         $password = trim(fgets(fopen("php://stdin", "r")));
20 20
 
21
-        Cli::printer(Auth::bcrypt($password) . PHP_EOL, "cyan", );
21
+        Cli::printer(Auth::bcrypt($password) . PHP_EOL, "cyan",);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
app/Ship/Commands/ArrayToYml.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
             $yaml = Yaml::dump($array);
20 20
             file_put_contents("config/$filename.yml", $yaml);
21 21
 
22
-            Cli::printer("Yml was created" . PHP_EOL, "cyan", );
22
+            Cli::printer("Yml was created" . PHP_EOL, "cyan",);
23 23
         } catch (Exception $e) {
24
-            echo 'Exception: ',  $e->getMessage(), "\n";
24
+            echo 'Exception: ', $e->getMessage(), "\n";
25 25
         }
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
app/Containers/Web/Controllers/MainController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,17 +21,17 @@
 block discarded – undo
21 21
     {
22 22
         data([
23 23
             "content" => cache(['mainpage', 'now']) ?? view(["index", 'mainpage']),
24
-       ]);
24
+        ]);
25 25
 
26
-       Dispatcher::dispatch('message', __CLASS__);
27
-       $this->info("Hello $name");
26
+        Dispatcher::dispatch('message', __CLASS__);
27
+        $this->info("Hello $name");
28 28
 
29
-       Dispatcher::notify('one');
29
+        Dispatcher::notify('one');
30 30
 
31 31
         dump(PHP_VERSION);
32
-       dump(__METHOD__);
32
+        dump(__METHOD__);
33 33
 
34
-       render("layout", data());
34
+        render("layout", data());
35 35
     }
36 36
 
37 37
     #[Routing(url: '')]
Please login to merge, or discard this patch.