From 3685d0649dcca1f8753bfb7a8e0165dcc69eb664 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 1 Jun 2018 09:31:50 +0200 Subject: update to 7.2.0 add dependency on doctrine/instantiator 1.1 raise dependency on myclabs/deep-copy 1.7 raise dependency on phpunit/php-code-coverage 6.0.6 raise dependency on phpunit/php-file-iterator 2.0 phpunit/phpunit-mock-objects is merged open https://github.com/sebastianbergmann/phpunit/issues/3155 TypeError: Return value of PHPUnit\Framework\TestCase::getStatus()... --- phpunit7-rpm.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'phpunit7-rpm.patch') diff --git a/phpunit7-rpm.patch b/phpunit7-rpm.patch index 48385bc..15cf866 100644 --- a/phpunit7-rpm.patch +++ b/phpunit7-rpm.patch @@ -57,3 +57,15 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php // TODO: Figure out why these are required (the classes should be autoloaded instead) require_once TEST_FILES_PATH . 'BeforeAndAfterTest.php'; +diff -up src/Util/Configuration.php.rpm src/Util/Configuration.php +--- src/Util/Configuration.php.rpm 2018-06-01 08:58:20.650603791 +0200 ++++ src/Util/Configuration.php 2018-06-01 08:58:28.559655848 +0200 +@@ -979,7 +979,7 @@ final class Configuration + private function validateConfigurationAgainstSchema(): void + { + $original = \libxml_use_internal_errors(true); +- $xsdFilename = __DIR__ . '/../../phpunit.xsd'; ++ $xsdFilename = __DIR__ . '/../phpunit.xsd'; + + if (\defined('__PHPUNIT_PHAR_ROOT__')) { + $xsdFilename = __PHPUNIT_PHAR_ROOT__ . '/phpunit.xsd'; -- cgit