Package: phpunit / 7.5.6-1

0002-phpunit.xsd-is-installed-in-usr-share-php-PHPUnit.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Wed, 20 Jun 2018 12:01:41 -1000
Subject: phpunit.xsd is installed in /usr/share/php/PHPUnit

Forwarded: not-needed
---
 src/Util/Configuration.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Util/Configuration.php b/src/Util/Configuration.php
index 0a18430..28f4bd8 100644
--- a/src/Util/Configuration.php
+++ b/src/Util/Configuration.php
@@ -1025,7 +1025,7 @@ public function getTestSuiteNames(): array
     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';