@@ -41,7 +41,7 @@ |
||
| 41 | 41 | $output->writeln('<error>Unable to parse the config file</error>'); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - return false; |
|
| 44 | + return FALSE; |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | return $this->verifyAuth($helper, $input, $output); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - return true; |
|
| 131 | + return TRUE; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | */ |
| 139 | 139 | protected function setVersionControlSettings($helper, InputInterface $input, OutputInterface $output) |
| 140 | 140 | { |
| 141 | - $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", false); |
|
| 141 | + $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", FALSE); |
|
| 142 | 142 | $versioning = $helper->ask($input, $output, $versionControl); |
| 143 | 143 | if ($versioning) { |
| 144 | 144 | $repoQuestion = new Question("Enter your full GitHub/BitBucket repo URL: ", ''); |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | $authObj = (array)json_decode($authJson); |
| 177 | 177 | |
| 178 | 178 | if (isset($authObj['http-basic']) && isset($authObj['http-basic']->{'repo.magento.com'})) { |
| 179 | - return true; |
|
| 179 | + return TRUE; |
|
| 180 | 180 | } |
| 181 | 181 | } |
| 182 | 182 | |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | ], |
| 176 | 176 | ]; |
| 177 | 177 | |
| 178 | - file_put_contents($file, "<?php \n \n return ".var_export($env,true).";"); |
|
| 178 | + file_put_contents($file, "<?php \n \n return ".var_export($env,TRUE).";"); |
|
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | protected function setComposerBinDir($projectPath) |
| 236 | 236 | { |
| 237 | 237 | $file = "$projectPath/public/composer.json"; |
| 238 | - $composer = json_decode(file_get_contents($file), true); |
|
| 238 | + $composer = json_decode(file_get_contents($file), TRUE); |
|
| 239 | 239 | $composer['config']['bin-dir'] = 'bin'; |
| 240 | 240 | file_put_contents($file, json_encode($composer)); |
| 241 | 241 | } |
@@ -296,7 +296,7 @@ |
||
| 296 | 296 | $output->writeln('<error>Unable to parse the YAML config</error>'); |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | - return false; |
|
| 299 | + return FALSE; |
|
| 300 | 300 | } |
| 301 | 301 | |
| 302 | 302 | /** |
@@ -59,6 +59,6 @@ |
||
| 59 | 59 | break; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - return false; |
|
| 62 | + return FALSE; |
|
| 63 | 63 | } |
| 64 | 64 | } |
@@ -28,6 +28,6 @@ |
||
| 28 | 28 | protected function execute(InputInterface $input, OutputInterface $output) |
| 29 | 29 | { |
| 30 | 30 | passthru('vagrant ssh'); |
| 31 | - return true; |
|
| 31 | + return TRUE; |
|
| 32 | 32 | } |
| 33 | 33 | } |
@@ -56,6 +56,6 @@ |
||
| 56 | 56 | break; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - return false; |
|
| 59 | + return FALSE; |
|
| 60 | 60 | } |
| 61 | 61 | } |
| 62 | 62 | \ No newline at end of file |
@@ -53,6 +53,6 @@ |
||
| 53 | 53 | break; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - return false; |
|
| 56 | + return FALSE; |
|
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | 59 | \ No newline at end of file |
@@ -57,6 +57,6 @@ |
||
| 57 | 57 | break; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - return false; |
|
| 60 | + return FALSE; |
|
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | \ No newline at end of file |