From d26bb22bd16b0850bc203ca6485e7e1dbac6e619 Mon Sep 17 00:00:00 2001 From: Luis Cordova Date: Fri, 26 Sep 2014 16:36:55 -0500 Subject: [PATCH] minor fixes while reading through --- .travis.yml | 12 ++++++------ Test/CmfUnitTestCase.php | 2 -- Tests/Candidates/CandidatesTest.php | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index b6c3cb4e..574d342c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ language: php php: - - 5.3 - - 5.4 - - 5.5 - - 5.6 - - hhvm + - 5.3 + - 5.4 + - 5.5 + - 5.6 + - hhvm env: - SYMFONY_VERSION=2.5.* @@ -21,7 +21,7 @@ matrix: - php: 5.5 env: SYMFONY_VERSION=dev-master -before_script: +before_install: - composer require symfony/routing:${SYMFONY_VERSION} --prefer-source script: phpunit --coverage-text diff --git a/Test/CmfUnitTestCase.php b/Test/CmfUnitTestCase.php index 367c6932..f0e9ea15 100644 --- a/Test/CmfUnitTestCase.php +++ b/Test/CmfUnitTestCase.php @@ -13,7 +13,6 @@ class CmfUnitTestCase extends \PHPUnit_Framework_TestCase { - protected function buildMock($class, array $methods = array()) { return $this->getMockBuilder($class) @@ -21,5 +20,4 @@ protected function buildMock($class, array $methods = array()) ->setMethods($methods) ->getMock(); } - } diff --git a/Tests/Candidates/CandidatesTest.php b/Tests/Candidates/CandidatesTest.php index 654711a9..322c052d 100644 --- a/Tests/Candidates/CandidatesTest.php +++ b/Tests/Candidates/CandidatesTest.php @@ -101,6 +101,5 @@ public function testGetCandidatesLimit() ), $paths ); - } }