[Nostromo] PSR-2

This commit is contained in:
Andrés Montañez
2017-01-01 01:34:14 -03:00
parent d8cd3b4058
commit f472084829
6 changed files with 82 additions and 87 deletions
@@ -1,7 +1,6 @@
<?php <?php
namespace Mage\Tests\Command\BuiltIn; namespace Mage\Tests\Command\BuiltIn;
use Mage\Command\BuiltIn\DeployCommand; use Mage\Command\BuiltIn\DeployCommand;
use Mage\Command\AbstractCommand; use Mage\Command\AbstractCommand;
use Mage\Tests\MageTestApplication; use Mage\Tests\MageTestApplication;
@@ -74,9 +73,9 @@ class DeployCommandTest extends TestCase
), ),
), ),
), ),
'on-release' => NULL, 'on-release' => null,
'post-release' => NULL, 'post-release' => null,
'post-deploy' => NULL, 'post-deploy' => null,
), ),
), ),
) )
@@ -189,9 +188,9 @@ class DeployCommandTest extends TestCase
), ),
), ),
), ),
'on-release' => NULL, 'on-release' => null,
'post-release' => NULL, 'post-release' => null,
'post-deploy' => NULL, 'post-deploy' => null,
), ),
), ),
) )
@@ -73,9 +73,9 @@ class ListCommandTest extends TestCase
), ),
), ),
), ),
'on-release' => NULL, 'on-release' => null,
'post-release' => NULL, 'post-release' => null,
'post-deploy' => NULL, 'post-deploy' => null,
), ),
), ),
) )
@@ -103,5 +103,4 @@ class ListCommandTest extends TestCase
$this->assertEquals($ranCommands[$index], $command); $this->assertEquals($ranCommands[$index], $command);
} }
} }
} }
@@ -73,9 +73,9 @@ class RollbackCommandTest extends TestCase
), ),
), ),
), ),
'on-release' => NULL, 'on-release' => null,
'post-release' => NULL, 'post-release' => null,
'post-deploy' => NULL, 'post-deploy' => null,
), ),
), ),
) )
@@ -103,5 +103,4 @@ class RollbackCommandTest extends TestCase
$this->assertEquals($ranCommands[$index], $command); $this->assertEquals($ranCommands[$index], $command);
} }
} }
} }
@@ -1,7 +1,6 @@
<?php <?php
namespace Mage\Tests\Command\BuiltIn; namespace Mage\Tests\Command\BuiltIn;
use Mage\Command\BuiltIn\VersionCommand; use Mage\Command\BuiltIn\VersionCommand;
use Mage\Command\AbstractCommand; use Mage\Command\AbstractCommand;
use Mage\Tests\MageTestApplication; use Mage\Tests\MageTestApplication;
-1
View File
@@ -20,7 +20,6 @@ class ProcessMockup extends Process
public function run($callback = null) public function run($callback = null)
{ {
} }
public function isSuccessful() public function isSuccessful()