@@ -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 |