mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-07-23 21:55:05 +02:00
Add patch for backward compatibility in shardj/zf1-future
`Zend_Form_Element::_filterValue()` method signature has been changed in shardj/zf1-future and hence a patch has been added for the backward compatibility with zend framework
This commit is contained in:
parent
effa84a827
commit
891534ddf5
@ -69,6 +69,9 @@
|
||||
"patches": {
|
||||
"ramsey/collection": {
|
||||
"Collection: Add PHP 8.1 support": "patches/ramsey-collection.patch"
|
||||
},
|
||||
"shardj/zf1-future": {
|
||||
"ZF1-Future: ZF backward compatibility": "patches/shardj-zf1-future.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
11
patches/shardj-zf1-future.patch
Normal file
11
patches/shardj-zf1-future.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/vendor/shardj/zf1-future/library/Zend/Form/Element.php
|
||||
+++ b/vendor/shardj/zf1-future/library/Zend/Form/Element.php
|
||||
@@ -595,7 +595,7 @@ class Zend_Form_Element implements Zend_Validate_Interface
|
||||
* @param string $key
|
||||
* @return void
|
||||
*/
|
||||
- protected function _filterValue(&$value, $key)
|
||||
+ protected function _filterValue(&$value, &$key)
|
||||
{
|
||||
foreach ($this->getFilters() as $filter) {
|
||||
$value = $filter->filter($value);
|
Loading…
x
Reference in New Issue
Block a user