From f79d3fbabe4a38cf562c3c269395f2c798244730 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Dec 2019 09:05:23 +0100 Subject: - update Archive_Tar to 1.4.9 - add patch for XML_Util and PHP 7.4 from https://github.com/pear/XML_Util/pull/11 --- 11.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 11.patch (limited to '11.patch') diff --git a/11.patch b/11.patch new file mode 100644 index 0000000..cd2833d --- /dev/null +++ b/11.patch @@ -0,0 +1,22 @@ +From 9ae15ac27d8618ee7d402b47b0c239b6c41c45d9 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 28 Nov 2019 15:51:00 +0100 +Subject: [PATCH] fix phplint warning + +--- + XML/Util.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/XML/Util.php b/XML/Util.php +index 2a008d3..df37e07 100644 +--- a/XML/Util.php ++++ b/XML/Util.php +@@ -918,7 +918,7 @@ public static function splitQualifiedName($qname, $defaultNs = null) + public static function isValidName($string) + { + // check for invalid chars +- if (!preg_match('/^[[:alpha:]_]\\z/', $string{0})) { ++ if (!preg_match('/^[[:alpha:]_]\\z/', $string[0])) { + return XML_Util::raiseError( + 'XML names may only start with letter or underscore', + XML_UTIL_ERROR_INVALID_START -- cgit