diff --git a/src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php b/src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php index c601d37..a7c0913 100644 --- a/src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php +++ b/src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php @@ -32,7 +32,7 @@ class DeployCommandWithoutReleasesTest extends TestCase $ranCommands = $application->getRuntime()->getRanCommands(); - $testCase = array ( + $testCase = array( 0 => 'git branch | grep "*"', 1 => 'git checkout test', 2 => 'git pull', @@ -55,5 +55,4 @@ class DeployCommandWithoutReleasesTest extends TestCase $this->assertEquals(0, $tester->getStatusCode()); } - - } +} diff --git a/src/Mage/Tests/MageApplicationTest.php b/src/Mage/Tests/MageApplicationTest.php index ef08725..834ab3f 100644 --- a/src/Mage/Tests/MageApplicationTest.php +++ b/src/Mage/Tests/MageApplicationTest.php @@ -54,7 +54,7 @@ class MageApplicationTest extends TestCase $application->configure(__DIR__ . '/Resources/basic.yml'); $this->assertTrue($application instanceof MageApplication); - $application->register('foo')->setCode(function() { + $application->register('foo')->setCode(function () { throw new \RuntimeException('foo'); });