Completed
Push — analysis-zGPgQ2 ( 3b9df4 )
by Steven
02:50
created
src/Magestead/Helper/Options.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Magestead/Installers/Magento2Project.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.
provision/puphpet/magestead/magento2/add_redis_env.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,4 +43,4 @@
 block discarded – undo
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).';');
Please login to merge, or discard this patch.