Run php-cs against test suite.

[ci skip]
This commit is contained in:
Daniele Alessandri
2013-12-22 15:09:39 +01:00
parent 9a38d2caec
commit 46671b9095
2 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ abstract class PredisProfileTestCase extends PredisTestCase
/**
* Returns a new instance of the tested profile.
*
* @param string $version Version of Redis.
* @param string $version Version of Redis.
* @return ProfileInterface
*/
protected function getProfile($version = null)
+13 -13
View File
@@ -163,10 +163,10 @@ abstract class PredisTestCase extends PHPUnit_Framework_TestCase
}
/**
* @param string $expectedVersion Expected redis version.
* @param string $operator Comparison operator.
* @param callable $callback Callback for matching version.
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
* @param string $expectedVersion Expected redis version.
* @param string $operator Comparison operator.
* @param callable $callback Callback for matching version.
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
*/
protected function executeOnRedisVersion($expectedVersion, $operator, $callback)
{
@@ -193,10 +193,10 @@ abstract class PredisTestCase extends PHPUnit_Framework_TestCase
}
/**
* @param string $expectedVersion Expected redis version.
* @param string $operator Comparison operator.
* @param callable $callback Callback for matching version.
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
* @param string $expectedVersion Expected redis version.
* @param string $operator Comparison operator.
* @param callable $callback Callback for matching version.
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
*/
protected function executeOnProfileVersion($expectedVersion, $operator, $callback)
{
@@ -211,11 +211,11 @@ abstract class PredisTestCase extends PHPUnit_Framework_TestCase
}
/**
* @param string $expectedVersion Expected redis version.
* @param string $message Optional message.
* @param bool $remote Based on local profile or remote redis version.
* @throws RuntimeException When unable to retrieve server info or redis version
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
* @param string $expectedVersion Expected redis version.
* @param string $message Optional message.
* @param bool $remote Based on local profile or remote redis version.
* @throws RuntimeException When unable to retrieve server info or redis version
* @throws PHPUnit_Framework_SkippedTestError When expected redis version is not met
*/
public function markTestSkippedOnRedisVersionBelow($expectedVersion, $message = '', $remote = true)
{