From: gggeek Date: Sun, 6 Dec 2020 15:40:35 +0000 (+0000) Subject: travis X-Git-Tag: plcapi-7.1-0~3^2~159 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=56db7be54cb34f5115113454dfb203f065b45f29;p=plcapi.git travis --- diff --git a/composer.json b/composer.json index f5db6fd..a3691aa 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "ext-xml": "*" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^8.5.12", + "phpunit/phpunit": "^5.0 || ^8.5.12", "phpunit/phpunit-selenium": "*", "yoast/phpunit-polyfills": "*", "ext-curl": "*", diff --git a/tests/3LocalhostTest.php b/tests/3LocalhostTest.php index 8d35be6..85934d4 100644 --- a/tests/3LocalhostTest.php +++ b/tests/3LocalhostTest.php @@ -55,7 +55,7 @@ class LocalhostTest extends PhpXmlRpc_PolyfillTestCase * @return TestResult * @throws Exception */ - public function _run(TestResult $result = NULL) + public function _run($result = NULL) { $this->testId = get_class($this) . '__' . $this->getName(); diff --git a/tests/LocalFileTestCase.php b/tests/LocalFileTestCase.php index 21fda68..255a87b 100644 --- a/tests/LocalFileTestCase.php +++ b/tests/LocalFileTestCase.php @@ -17,7 +17,7 @@ abstract class PhpXmlRpc_LocalFileTestCase extends PhpXmlRpc_PolyfillTestCase protected $collectCodeCoverageInformation; protected $coverageScriptUrl; - public function _run(TestResult $result = NULL) + public function _run($result = NULL) { $this->testId = get_class($this) . '__' . $this->getName(); diff --git a/tests/PolyfillTestCase8.php b/tests/PolyfillTestCase8.php index 55870ec..5c8711a 100644 --- a/tests/PolyfillTestCase8.php +++ b/tests/PolyfillTestCase8.php @@ -5,7 +5,7 @@ use Yoast\PHPUnitPolyfills\TestCases\TestCase; abstract class PhpXmlRpc_PolyfillTestCase extends TestCase { - public function _run(TestResult $result = null) { + public function _run($result = null) { return parent::run($result); }