@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | protected $_currency; |
29 | 29 | protected $_baseUrl; |
30 | 30 | protected $_repoUrl = ''; |
31 | - protected $installSampleData = false; |
|
31 | + protected $installSampleData = FALSE; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Options constructor. |
@@ -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: ", ''); |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | protected function installSampleData($helper, InputInterface $input, OutputInterface $output) |
155 | 155 | { |
156 | - $sampleInstall = new ConfirmationQuestion("Would you like to install sample data? (no/yes) ", false); |
|
156 | + $sampleInstall = new ConfirmationQuestion("Would you like to install sample data? (no/yes) ", FALSE); |
|
157 | 157 | $this->installSampleData = $helper->ask($input, $output, $sampleInstall); |
158 | 158 | } |
159 | 159 | |
@@ -184,10 +184,10 @@ discard block |
||
184 | 184 | $authObj = []; |
185 | 185 | if (file_exists($authFile)) { |
186 | 186 | $authJson = file_get_contents($authFile); |
187 | - $authObj = (array)json_decode($authJson, true); |
|
187 | + $authObj = (array)json_decode($authJson, TRUE); |
|
188 | 188 | |
189 | 189 | if (isset($authObj['http-basic']) && isset($authObj['http-basic']->{'repo.magento.com'})) { |
190 | - return true; |
|
190 | + return TRUE; |
|
191 | 191 | } |
192 | 192 | } |
193 | 193 |