From a86c02af6872e44eb2f7fb6fd8abd8b7a7e4344f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Oct 2019 16:31:23 +0200 Subject: - use range dependencies - add patch for PHP 7.4 from https://github.com/horde/Ldap/pull/1 --- 1.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 1.patch (limited to '1.patch') diff --git a/1.patch b/1.patch new file mode 100644 index 0000000..1062ced --- /dev/null +++ b/1.patch @@ -0,0 +1,22 @@ +From 55de8c2b738eb052e5b240b8abc613ccd113203c Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 17 Oct 2019 16:22:31 +0200 +Subject: [PATCH] fix curly braces is deprecated + +--- + lib/Horde/Ldap/Filter.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Horde/Ldap/Filter.php b/lib/Horde/Ldap/Filter.php +index 4d4b4db..8124813 100644 +--- a/lib/Horde/Ldap/Filter.php ++++ b/lib/Horde/Ldap/Filter.php +@@ -350,7 +350,7 @@ protected static function _parseCombination($filter) + // is outside any subcomponent. + $level = 0; + for ($curpos = 0, $len = strlen($filter); $curpos < $len; $curpos++) { +- $cur_char = $filter{$curpos}; ++ $cur_char = $filter[$curpos]; + + // Rise/lower bracket level. + if ($cur_char == '(' && $prev_char != '\\') { -- cgit