Completed
Push — develop ( 73ee45...2c4c15 )
by Steven
05:07 queued 02:56
created
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/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.
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/Command/NewCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
             throw new ExistingProjectException('Target project directory already exists');
171 171
         }
172 172
 
173
-        mkdir($this->_projectPath, 0777, true);
173
+        mkdir($this->_projectPath, 0777, TRUE);
174 174
         return $project;
175 175
     }
176 176
 }
Please login to merge, or discard this patch.
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.
src/Magestead/Command/Cache/EnableCommand.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
                 return "cd /var/www/public;bin/magento cache:enable $cacheType";
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.