@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | return $this->verifyAuth($helper, $input, $output); |
134 | 134 | } |
135 | 135 | |
136 | - return true; |
|
136 | + return TRUE; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | protected function setVersionControlSettings($helper, InputInterface $input, OutputInterface $output) |
145 | 145 | { |
146 | - $versionControl = new ConfirmationQuestion('Would you like to add your project to GIT? (no/yes) ', false); |
|
146 | + $versionControl = new ConfirmationQuestion('Would you like to add your project to GIT? (no/yes) ', FALSE); |
|
147 | 147 | $versioning = $helper->ask($input, $output, $versionControl); |
148 | 148 | if ($versioning) { |
149 | 149 | $repoQuestion = new Question('Enter your full GitHub/BitBucket repo URL: ', ''); |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | $authObj = (array) json_decode($authJson); |
183 | 183 | |
184 | 184 | if (isset($authObj['http-basic']) && isset($authObj['http-basic']->{'repo.magento.com'})) { |
185 | - return true; |
|
185 | + return TRUE; |
|
186 | 186 | } |
187 | 187 | } |
188 | 188 |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | ], |
178 | 178 | ]; |
179 | 179 | |
180 | - file_put_contents($file, "<?php \n \n return ".var_export($env, true).';'); |
|
180 | + file_put_contents($file, "<?php \n \n return ".var_export($env, TRUE).';'); |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | protected function setComposerBinDir($projectPath) |
240 | 240 | { |
241 | 241 | $file = "$projectPath/public/composer.json"; |
242 | - $composer = json_decode(file_get_contents($file), true); |
|
242 | + $composer = json_decode(file_get_contents($file), TRUE); |
|
243 | 243 | |
244 | 244 | $composer['config']['bin-dir'] = 'bin'; |
245 | 245 | file_put_contents($file, json_encode($composer)); |
@@ -43,4 +43,4 @@ |
||
43 | 43 | ], |
44 | 44 | ]; |
45 | 45 | |
46 | -file_put_contents($file, "<?php \n \n return ".var_export($env, true).';'); |
|
46 | +file_put_contents($file, "<?php \n \n return ".var_export($env, TRUE).';'); |