@@ -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 | } |
@@ -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); |
@@ -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).";"); |
@@ -170,7 +170,7 @@ |
||
170 | 170 | throw new ExistingProjectException('Target project directory already exists'); |
171 | 171 | } |
172 | 172 | |
173 | - mkdir($this->_projectPath, 0777, true); |
|
173 | + mkdir($this->_projectPath, 0777, TRUE); |
|
174 | 174 | return $project; |
175 | 175 | } |
176 | 176 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $output->writeln('<error>Unable to parse the config file</error>'); |
51 | 51 | } |
52 | 52 | |
53 | - return false; |
|
53 | + return FALSE; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | $composerHomePath = realpath(trim($composerConfig['[home]'])); |
86 | 86 | |
87 | - if (false === $composerHomePath) { |
|
87 | + if (FALSE === $composerHomePath) { |
|
88 | 88 | throw new MissingComposerHomeException('Composer home directory is not found. Do you have it installed?'); |
89 | 89 | } |
90 | 90 |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | protected $_currency; |
30 | 30 | protected $_baseUrl; |
31 | 31 | protected $_repoUrl = ''; |
32 | - protected $installSampleData = false; |
|
32 | + protected $installSampleData = FALSE; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Options constructor. |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | return $this->verifyAuth($helper, $input, $output); |
135 | 135 | } |
136 | 136 | |
137 | - return true; |
|
137 | + return TRUE; |
|
138 | 138 | } |
139 | 139 | |
140 | 140 | /** |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | */ |
145 | 145 | protected function setVersionControlSettings($helper, InputInterface $input, OutputInterface $output) |
146 | 146 | { |
147 | - $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", false); |
|
147 | + $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", FALSE); |
|
148 | 148 | $versioning = $helper->ask($input, $output, $versionControl); |
149 | 149 | if ($versioning) { |
150 | 150 | $repoQuestion = new Question("Enter your full GitHub/BitBucket repo URL: ", ''); |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | |
155 | 155 | protected function installSampleData($helper, InputInterface $input, OutputInterface $output) |
156 | 156 | { |
157 | - $sampleInstall = new ConfirmationQuestion("Would you like to install sample data? (no/yes) ", false); |
|
157 | + $sampleInstall = new ConfirmationQuestion("Would you like to install sample data? (no/yes) ", FALSE); |
|
158 | 158 | $this->installSampleData = $helper->ask($input, $output, $sampleInstall); |
159 | 159 | } |
160 | 160 | |
@@ -186,10 +186,10 @@ discard block |
||
186 | 186 | $authObj = []; |
187 | 187 | if (file_exists($authFile) && is_readable($authFile)) { |
188 | 188 | $authJson = file_get_contents($authFile); |
189 | - $authObj = (array)json_decode($authJson, true); |
|
189 | + $authObj = (array)json_decode($authJson, TRUE); |
|
190 | 190 | |
191 | 191 | if (isset($authObj['http-basic']) && isset($authObj['http-basic']->{'repo.magento.com'})) { |
192 | - return true; |
|
192 | + return TRUE; |
|
193 | 193 | } |
194 | 194 | } |
195 | 195 |
@@ -53,6 +53,6 @@ |
||
53 | 53 | return "cd /var/www/public;bin/magento cache:enable $cacheType"; |
54 | 54 | } |
55 | 55 | |
56 | - return false; |
|
56 | + return FALSE; |
|
57 | 57 | } |
58 | 58 | } |
59 | 59 | \ No newline at end of file |