Completed
Push — develop ( 9d2575...73ee45 )
by Steven
03:13
created
src/Magestead/Helper/Config.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Magestead/Helper/Options.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.