diff --git a/d3b21d0ebad5b5b873fd49a25d7b597b7f407ca0.patch b/d3b21d0ebad5b5b873fd49a25d7b597b7f407ca0.patch deleted file mode 100644 index 61f6ff7..0000000 --- a/d3b21d0ebad5b5b873fd49a25d7b597b7f407ca0.patch +++ /dev/null @@ -1,22 +0,0 @@ -From d3b21d0ebad5b5b873fd49a25d7b597b7f407ca0 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Tue, 13 Feb 2018 08:05:21 +0100 -Subject: [PATCH] drop each usage, deprecated in PHP 7.2 - ---- - Cache/Lite/Function.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Cache/Lite/Function.php b/Cache/Lite/Function.php -index b28cf79..2e5ecad 100644 ---- a/Cache/Lite/Function.php -+++ b/Cache/Lite/Function.php -@@ -84,7 +84,7 @@ class Cache_Lite_Function extends Cache_Lite - function __construct($options = array(NULL)) - { - $availableOptions = array('debugCacheLiteFunction', 'defaultGroup', 'dontCacheWhenTheOutputContainsNOCACHE', 'dontCacheWhenTheResultIsFalse', 'dontCacheWhenTheResultIsNull'); -- while (list($name, $value) = each($options)) { -+ foreach ($options as $name => $value) { - if (in_array($name, $availableOptions)) { - $property = '_'.$name; - $this->$property = $value;