File: upgrade-PHPUnit-XML-Schema-from-9.3-to-11.5.patch

package info (click to toggle)
eluceo-ical 0.16.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: php: 2,894; makefile: 27; sh: 7
file content (38 lines) | stat: -rw-r--r-- 1,273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Joe Nahmias <jello@debian.org>
Date: Mon, 1 Sep 2025 19:42:39 -0400
Subject: upgrade PHPUnit XML Schema from 9.3 to 11.5

---
 phpunit.xml.dist | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 2cbfc79..126f20c 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,20 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <phpunit
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          colors="true"
-         convertErrorsToExceptions="true"
-         convertNoticesToExceptions="true"
-         convertWarningsToExceptions="true"
          processIsolation="false"
          stopOnFailure="false"
          bootstrap="./vendor/autoload.php"
-         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
+         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
+         cacheDirectory=".phpunit.cache"
 >
-    <coverage processUncoveredFiles="true">
+    <source>
         <include>
             <directory suffix=".php">src</directory>
         </include>
+    </source>
+    <coverage>
         <report>
             <text outputFile="php://stdout" showUncoveredFiles="true" showOnlySummary="true"/>
         </report>