Completed
Pull Request — epic/2.0.0 (#37)
by Steven
03:03
created
src/Magestead/Helper/Config.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             $output->writeln('<error>Unable to parse the config file</error>');
42 42
         }
43 43
 
44
-        return false;
44
+        return FALSE;
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
src/Magestead/Helper/Options.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
             return $this->verifyAuth($helper, $input, $output);
129 129
         }
130 130
 
131
-        return true;
131
+        return TRUE;
132 132
     }
133 133
 
134 134
     /**
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     protected function setVersionControlSettings($helper, InputInterface $input, OutputInterface $output)
140 140
     {
141
-        $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", false);
141
+        $versionControl = new ConfirmationQuestion("Would you like to add your project to GIT? (no/yes) ", FALSE);
142 142
         $versioning = $helper->ask($input, $output, $versionControl);
143 143
         if ($versioning) {
144 144
             $repoQuestion = new Question("Enter your full GitHub/BitBucket repo URL: ", '');
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
             $authObj = (array)json_decode($authJson);
177 177
 
178 178
             if (isset($authObj['http-basic']) && isset($authObj['http-basic']->{'repo.magento.com'})) {
179
-                return true;
179
+                return TRUE;
180 180
             }
181 181
         }
182 182
 
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
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
             ],
176 176
         ];
177 177
 
178
-        file_put_contents($file, "<?php \n \n return ".var_export($env,true).";");
178
+        file_put_contents($file, "<?php \n \n return ".var_export($env,TRUE).";");
179 179
     }
180 180
 
181 181
     /**
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     protected function setComposerBinDir($projectPath)
236 236
     {
237 237
         $file = "$projectPath/public/composer.json";
238
-        $composer = json_decode(file_get_contents($file), true);
238
+        $composer = json_decode(file_get_contents($file), TRUE);
239 239
         $composer['config']['bin-dir'] = 'bin';
240 240
         file_put_contents($file, json_encode($composer));
241 241
     }
Please login to merge, or discard this patch.
src/Magestead/Installers/MagentoProject.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Magestead/Command/PhpspecCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
                 break;
60 60
         }
61 61
 
62
-        return false;
62
+        return FALSE;
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Magestead/Command/VM/SshCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Magestead/Command/Index/SetModeCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
                 break;
57 57
         }
58 58
 
59
-        return false;
59
+        return FALSE;
60 60
     }
61 61
 }
62 62
\ No newline at end of file
Please login to merge, or discard this patch.
src/Magestead/Command/Index/StatusCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,6 @@
 block discarded – undo
53 53
                 break;
54 54
         }
55 55
 
56
-        return false;
56
+        return FALSE;
57 57
     }
58 58
 }
59 59
\ No newline at end of file
Please login to merge, or discard this patch.
src/Magestead/Command/Index/ShowModeCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,6 +57,6 @@
 block discarded – undo
57 57
                 break;
58 58
         }
59 59
 
60
-        return false;
60
+        return FALSE;
61 61
     }
62 62
 }
63 63
\ No newline at end of file
Please login to merge, or discard this patch.