summaryrefslogtreecommitdiffstats
path: root/phpunit7-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-01 09:31:50 +0200
committerRemi Collet <remi@remirepo.net>2018-06-01 09:31:50 +0200
commit3685d0649dcca1f8753bfb7a8e0165dcc69eb664 (patch)
treeefcd7e1dc2c3198ec0148701651f86533db96365 /phpunit7-rpm.patch
parent161bd432cf09d208ce55e689d6b3e6c2fab055fc (diff)
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()...
Diffstat (limited to 'phpunit7-rpm.patch')
-rw-r--r--phpunit7-rpm.patch12
1 files changed, 12 insertions, 0 deletions
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';