@@ -30,7 +30,7 @@ class CreateCommand extends Command
3030 'CSRF protection ' => 'leafs/csrf ' ,
3131 'CORS support ' => 'leafs/cors ' ,
3232 'Leaf Date ' => 'leafs/date ' ,
33- 'Leaf Fetch ' => 'leafs/fetch '
33+ 'Leaf Fetch ' => 'leafs/fetch ' ,
3434 ];
3535
3636 /**
@@ -101,9 +101,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
101101
102102 $ output ->writeln (
103103 "\n⚙️ Creating \""
104- . basename ($ directory ) . "\" in <info>./ "
105- . basename (dirname ($ directory )) .
106- "</info> using <info> $ preset@v3</info>. "
104+ . basename ($ directory ) . ' " in <info>./'
105+ . basename (dirname ($ directory )) .
106+ "</info> using <info> $ preset@v3</info>. "
107107 );
108108
109109 if ($ preset === 'leaf ' ) {
@@ -190,15 +190,15 @@ protected function execute(InputInterface $input, OutputInterface $output): int
190190 if ($ preset === 'mvc ' || $ preset === 'api ' ) {
191191 $ dockerThemeFolder = __DIR__ . '/themes/mvc/docker ' ;
192192 }
193-
193+
194194 FS ::superCopy ($ dockerThemeFolder , $ directory );
195195 $ output ->write ("\n🚀 Docker environment scaffolded successfully " );
196196 }
197197
198- $ output ->writeln ("\n🚀 Successfully created project <info> " . basename ($ directory ) . " </info> " );
199- $ output ->writeln (" 👉 Get started with the following commands: " );
198+ $ output ->writeln ("\n🚀 Successfully created project <info> " . basename ($ directory ) . ' </info> ' );
199+ $ output ->writeln (' 👉 Get started with the following commands: ' );
200200 $ output ->writeln ("\n <info>cd</info> " . basename ($ directory ));
201- $ output ->writeln (" <info>leaf serve</info> " );
201+ $ output ->writeln (' <info>leaf serve</info> ' );
202202
203203 if ($ testing ) {
204204 $ output ->writeln ("\n👉 You can run tests with: " );
@@ -216,7 +216,7 @@ protected function buildLeafApp($input, $output, $directory): int
216216 FS ::superCopy (__DIR__ . '/themes/leaf3 ' , $ directory );
217217
218218 $ composer = Utils \Core::findComposer ();
219- $ output ->writeln ('⚡️ ' . basename ($ directory ) . " scaffolded successfully " );
219+ $ output ->writeln ('⚡️ ' . basename ($ directory ) . ' scaffolded successfully ' );
220220
221221 $ commands = [
222222 "$ composer install " ,
@@ -271,10 +271,10 @@ protected function buildLeafApp($input, $output, $directory): int
271271 });
272272
273273 if ($ process ->isSuccessful ()) {
274- $ output ->writeln ("\n🚀 Successfully created project <info> " . basename ($ directory ) . " </info> " );
275- $ output ->writeln (" 👉 Get started with the following commands: " );
274+ $ output ->writeln ("\n🚀 Successfully created project <info> " . basename ($ directory ) . ' </info> ' );
275+ $ output ->writeln (' 👉 Get started with the following commands: ' );
276276 $ output ->writeln ("\n <info>cd</info> " . basename ($ directory ));
277- $ output ->writeln (" <info>leaf serve</info> " );
277+ $ output ->writeln (' <info>leaf serve</info> ' );
278278
279279 if ($ testing ) {
280280 $ output ->writeln ("\n👉 You can run tests with: " );
@@ -389,7 +389,7 @@ protected function getAppPreset(InputInterface $input, $output): string
389389 if ($ preset === 'leaf mvc ' ) {
390390 return 'mvc ' ;
391391 }
392-
392+
393393 return 'leaf ' ;
394394 }
395395
@@ -414,6 +414,7 @@ protected function getAppTestPreset($input, $output)
414414
415415 if ($ testing === 'none ' ) {
416416 $ output ->writeln ("\n💪 No tests, hope you know what you're doing " );
417+
417418 return false ;
418419 }
419420
0 commit comments