diff --git a/PHPUnit/Extensions/PhptTestCase.php b/PHPUnit/Extensions/PhptTestCase.php index bb66bdc23eb..98bf0dad0bb 100644 --- a/PHPUnit/Extensions/PhptTestCase.php +++ b/PHPUnit/Extensions/PhptTestCase.php @@ -1,4 +1,7 @@ createResult(); } diff --git a/PHPUnit/Extensions/TestDecorator.php b/PHPUnit/Extensions/TestDecorator.php index 18f0b13e9b1..36757fd2e0a 100644 --- a/PHPUnit/Extensions/TestDecorator.php +++ b/PHPUnit/Extensions/TestDecorator.php @@ -1,4 +1,7 @@ createResult(); } diff --git a/PHPUnit/Framework/Constraint.php b/PHPUnit/Framework/Constraint.php index ded42147f42..91a51ab77bc 100644 --- a/PHPUnit/Framework/Constraint.php +++ b/PHPUnit/Framework/Constraint.php @@ -1,4 +1,7 @@ failureDescription($other) diff --git a/PHPUnit/Framework/Error.php b/PHPUnit/Framework/Error.php index c599e18d2ee..ab3855bad6e 100644 --- a/PHPUnit/Framework/Error.php +++ b/PHPUnit/Framework/Error.php @@ -1,4 +1,7 @@ file = $file; diff --git a/PHPUnit/Framework/ExpectationFailedException.php b/PHPUnit/Framework/ExpectationFailedException.php index cdb48cbba3f..373998d1851 100644 --- a/PHPUnit/Framework/ExpectationFailedException.php +++ b/PHPUnit/Framework/ExpectationFailedException.php @@ -1,4 +1,7 @@ comparisonFailure = $comparisonFailure; parent::__construct($message, 0, $previous); diff --git a/PHPUnit/Framework/Test.php b/PHPUnit/Framework/Test.php index d77af35941a..a198028f9a5 100644 --- a/PHPUnit/Framework/Test.php +++ b/PHPUnit/Framework/Test.php @@ -62,5 +62,5 @@ interface PHPUnit_Framework_Test extends Countable * @param PHPUnit_Framework_TestResult $result * @return PHPUnit_Framework_TestResult */ - public function run(PHPUnit_Framework_TestResult $result = NULL); + public function run($result = NULL); } diff --git a/PHPUnit/Framework/TestCase.php b/PHPUnit/Framework/TestCase.php index 51ce9ad1289..021815a2efe 100644 --- a/PHPUnit/Framework/TestCase.php +++ b/PHPUnit/Framework/TestCase.php @@ -1,4 +1,7 @@ createResult(); } diff --git a/PHPUnit/Framework/TestSuite.php b/PHPUnit/Framework/TestSuite.php index 4faad4ace27..6675097f3c0 100644 --- a/PHPUnit/Framework/TestSuite.php +++ b/PHPUnit/Framework/TestSuite.php @@ -1,4 +1,7 @@ createResult(); } diff --git a/PHPUnit/TextUI/TestRunner.php b/PHPUnit/TextUI/TestRunner.php index d3e273018cd..740607e2772 100644 --- a/PHPUnit/TextUI/TestRunner.php +++ b/PHPUnit/TextUI/TestRunner.php @@ -1,4 +1,7 @@ getPhpBinary(), array( diff --git a/Tests/_files/DoubleTestCase.php b/Tests/_files/DoubleTestCase.php index 1e8380a1d0d..4de6c3bfe56 100644 --- a/Tests/_files/DoubleTestCase.php +++ b/Tests/_files/DoubleTestCase.php @@ -1,4 +1,7 @@ startTest($this); $this->testCase->runBare(); diff --git a/composer.json b/composer.json index 0bd52ed7d03..70fb95fb90b 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,10 @@ { "type": "pear", "url": "https://pear.php.net" + }, + { + "type": "git", + "url": "git@github.com:zf1s/compat.git" } ], "require": { @@ -44,7 +48,8 @@ "ext-json": "*", "ext-pcre": "*", "ext-reflection": "*", - "ext-spl": "*" + "ext-spl": "*", + "zf1s/compat": "^1.0" }, "require-dev": { "pear-pear.php.net/pear": "~1.9|~1.10" diff --git a/deps/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php b/deps/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php index b5af44db160..daf52bd7c89 100644 --- a/deps/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php +++ b/deps/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php @@ -1,4 +1,7 @@