@@ -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 | } |
@@ -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 | } |
@@ -52,6 +52,6 @@ |
||
| 52 | 52 | break; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - return false; |
|
| 55 | + return FALSE; |
|
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | \ No newline at end of file |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | protected function run($command, $projectPath, OutputInterface $output) |
| 30 | 30 | { |
| 31 | - $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), null, null); |
|
| 31 | + $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), NULL, NULL); |
|
| 32 | 32 | |
| 33 | 33 | $process->run(function ($type, $line) use ($output) { |
| 34 | 34 | $output->write($line); |
@@ -58,6 +58,6 @@ |
||
| 58 | 58 | break; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - return false; |
|
| 61 | + return FALSE; |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -48,4 +48,4 @@ |
||
| 48 | 48 | ) |
| 49 | 49 | ); |
| 50 | 50 | |
| 51 | -file_put_contents($file, "<?php \n \n return ".var_export($env,true).";"); |
|
| 51 | +file_put_contents($file, "<?php \n \n return ".var_export($env,TRUE).";"); |
|
@@ -58,6 +58,6 @@ |
||
| 58 | 58 | break; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - return false; |
|
| 61 | + return FALSE; |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -58,6 +58,6 @@ |
||
| 58 | 58 | break; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - return false; |
|
| 61 | + return FALSE; |
|
| 62 | 62 | } |
| 63 | 63 | } |