Browse Source

[Nostromo] PSR-2

pull/1/head
Andrés Montañez 8 years ago
parent
commit
f472084829
  1. 13
      src/Mage/Tests/Command/BuiltIn/DeployCommandTest.php
  2. 7
      src/Mage/Tests/Command/BuiltIn/Releases/ListCommandTest.php
  3. 7
      src/Mage/Tests/Command/BuiltIn/Releases/RollbackCommandTest.php
  4. 1
      src/Mage/Tests/Command/BuiltIn/VersionCommandTest.php
  5. 1
      src/Mage/Tests/Runtime/ProcessMockup.php

13
src/Mage/Tests/Command/BuiltIn/DeployCommandTest.php

@ -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,
), ),
), ),
) )

7
src/Mage/Tests/Command/BuiltIn/Releases/ListCommandTest.php

@ -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);
} }
} }
} }

7
src/Mage/Tests/Command/BuiltIn/Releases/RollbackCommandTest.php

@ -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
src/Mage/Tests/Command/BuiltIn/VersionCommandTest.php

@ -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
src/Mage/Tests/Runtime/ProcessMockup.php

@ -20,7 +20,6 @@ class ProcessMockup extends Process
public function run($callback = null) public function run($callback = null)
{ {
} }
public function isSuccessful() public function isSuccessful()

Loading…
Cancel
Save