summaryrefslogtreecommitdiffstats
path: root/phpunit7-rpm.patch
diff options
context:
space:
mode:
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';