Browse Source

[Nostromo] PSR2

pull/1/head
Andrés Montañez 8 years ago
parent
commit
781b5e7620
  1. 5
      src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php
  2. 2
      src/Mage/Tests/MageApplicationTest.php

5
src/Mage/Tests/Command/BuiltIn/DeployCommandWithoutReleasesTest.php

@ -32,7 +32,7 @@ class DeployCommandWithoutReleasesTest extends TestCase
$ranCommands = $application->getRuntime()->getRanCommands(); $ranCommands = $application->getRuntime()->getRanCommands();
$testCase = array ( $testCase = array(
0 => 'git branch | grep "*"', 0 => 'git branch | grep "*"',
1 => 'git checkout test', 1 => 'git checkout test',
2 => 'git pull', 2 => 'git pull',
@ -55,5 +55,4 @@ class DeployCommandWithoutReleasesTest extends TestCase
$this->assertEquals(0, $tester->getStatusCode()); $this->assertEquals(0, $tester->getStatusCode());
} }
}
}

2
src/Mage/Tests/MageApplicationTest.php

@ -54,7 +54,7 @@ class MageApplicationTest extends TestCase
$application->configure(__DIR__ . '/Resources/basic.yml'); $application->configure(__DIR__ . '/Resources/basic.yml');
$this->assertTrue($application instanceof MageApplication); $this->assertTrue($application instanceof MageApplication);
$application->register('foo')->setCode(function() { $application->register('foo')->setCode(function () {
throw new \RuntimeException('foo'); throw new \RuntimeException('foo');
}); });

Loading…
Cancel
Save