Completed
Push — master ( e48266...c6a956 )
by Steven
8s
created
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/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/Cache/DisableCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
                 break;
53 53
         }
54 54
 
55
-        return false;
55
+        return FALSE;
56 56
     }
57 57
 }
58 58
\ No newline at end of file
Please login to merge, or discard this patch.
src/Magestead/Command/ProcessCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     protected function run($command, $projectPath, OutputInterface $output)
30 30
     {
31
-        $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), null, null);
31
+        $process = new Process($command, $projectPath, array_merge($_SERVER, $_ENV), NULL, NULL);
32 32
 
33 33
         $process->run(function ($type, $line) use ($output) {
34 34
             $output->write($line);
Please login to merge, or discard this patch.
src/Magestead/Command/BehatCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,6 @@
 block discarded – undo
58 58
                 break;
59 59
         }
60 60
 
61
-        return false;
61
+        return FALSE;
62 62
     }
63 63
 }
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
@@ -48,4 +48,4 @@
 block discarded – undo
48 48
 		)
49 49
 	);
50 50
 
51
-file_put_contents($file, "<?php \n \n return ".var_export($env,true).";");
51
+file_put_contents($file, "<?php \n \n return ".var_export($env,TRUE).";");
Please login to merge, or discard this patch.
src/Magestead/Helper/Config.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,6 @@
 block discarded – undo
58 58
                 break;
59 59
         }
60 60
 
61
-        return false;
61
+        return FALSE;
62 62
     }
63 63
 }
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
@@ -58,6 +58,6 @@
 block discarded – undo
58 58
                 break;
59 59
         }
60 60
 
61
-        return false;
61
+        return FALSE;
62 62
     }
63 63
 }
Please login to merge, or discard this patch.