Completed
Push — feature/composer-home-checking ( fae764 )
by Steven
03:52
created
src/Magestead/Exceptions/MissingConfigFileException.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,4 +4,6 @@
 block discarded – undo
4 4
  * Class MissingConfigFileException
5 5
  * @package Magestead\Exceptions
6 6
  */
7
-class MissingConfigFileException extends \Exception {}
8 7
\ No newline at end of file
8
+class MissingConfigFileException extends \Exception
9
+{
10
+}
9 11
\ No newline at end of file
Please login to merge, or discard this patch.
src/Magestead/Command/PhpspecCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
 {
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
 
21 20
         $this->setName("behat");
@@ -28,8 +27,7 @@  discard block
 block discarded – undo
28 27
      * @param OutputInterface $output
29 28
      * @return mixed
30 29
      */
31
-    protected function execute(InputInterface $input, OutputInterface $output)
32
-    {
30
+    protected function execute(InputInterface $input, OutputInterface $output) {
33 31
         $option = $input->getArgument('option');
34 32
         $command = $this->getCommand(new Config($output), $option);
35 33
         if (!$command) {
@@ -46,8 +44,7 @@  discard block
 block discarded – undo
46 44
      * @param $option
47 45
      * @return bool|string
48 46
      */
49
-    protected function getCommand(Config $config, $option)
50
-    {
47
+    protected function getCommand(Config $config, $option) {
51 48
         $type = $config->type;
52 49
         switch ($type) {
53 50
             case 'magento':
Please login to merge, or discard this patch.
src/Magestead/Command/VM/DestroyCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/StatusCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/ResumeCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/SuspendCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/UpCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/HaltCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.
src/Magestead/Command/VM/SshCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@  discard block
 block discarded – undo
14 14
     protected $_config;
15 15
     protected $_projectPath;
16 16
 
17
-    protected function configure()
18
-    {
17
+    protected function configure() {
19 18
         $this->_projectPath = getcwd();
20 19
         $this->setName("redis:flush-all");
21 20
         $this->setDescription("Flush redis storage");
@@ -26,8 +25,7 @@  discard block
 block discarded – undo
26 25
      * @param OutputInterface $output
27 26
      * @return ProcessCommand
28 27
      */
29
-    protected function execute(InputInterface $input, OutputInterface $output)
30
-    {
28
+    protected function execute(InputInterface $input, OutputInterface $output) {
31 29
         $output->writeln('<info>Flushing Redis Storage</info>');
32 30
 
33 31
         $command = "redis-cli flushall";
Please login to merge, or discard this patch.