mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-12-12 00:11:00 +01:00
Change patch definition for zf1-future
This commit is contained in:
parent
44fc91e408
commit
fa2ea6cde6
@ -71,9 +71,13 @@
|
||||
"extra": {
|
||||
"composer-exit-on-patch-failure": true,
|
||||
"patches": {
|
||||
"shardj/zf1-future": {
|
||||
"ZF1-Future: ZF backward compatibility": "patches/shardj-zf1-future.patch"
|
||||
}
|
||||
"shardj/zf1-future": [
|
||||
{
|
||||
"description": "ZF1-Future: ZF backward compatibility",
|
||||
"url": "patches/shardj-zf1-future.patch",
|
||||
"depth": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
composer.lock
generated
2
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "eccdf60fd94e31fe356a5f6a7167e0e6",
|
||||
"content-hash": "c461062cba9de4558284ee19a1a5687e",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
|
||||
17
patches.lock.json
Normal file
17
patches.lock.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"_hash": "1713a694c4f5c9dd242a51c083b66c36b9b4c363ed31c195999e391455d68afc",
|
||||
"patches": {
|
||||
"shardj/zf1-future": [
|
||||
{
|
||||
"package": "shardj/zf1-future",
|
||||
"description": "ZF1-Future: ZF backward compatibility",
|
||||
"url": "patches/shardj-zf1-future.patch",
|
||||
"sha256": "6abbcff07f33570cae8e022eee2859b28ac053e0574c32a7a45c5ee34680a034",
|
||||
"depth": 1,
|
||||
"extra": {
|
||||
"provenance": "root"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
--- 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
|
||||
--- a/library/Zend/Form/Element.php
|
||||
+++ b/library/Zend/Form/Element.php
|
||||
@@ -601,7 +601,7 @@ class Zend_Form_Element implements Zend_Validate_Interface
|
||||
* @param string $key
|
||||
* @return void
|
||||
*/
|
||||
@ -9,9 +9,9 @@
|
||||
{
|
||||
foreach ($this->getFilters() as $filter) {
|
||||
$value = $filter->filter($value);
|
||||
@@ -612,7 +612,9 @@ class Zend_Form_Element implements Zend_Validate_Interface
|
||||
@@ -618,7 +618,9 @@ class Zend_Form_Element implements Zend_Validate_Interface
|
||||
$valueFiltered = $this->_value;
|
||||
|
||||
|
||||
if ($this->isArray() && is_array($valueFiltered)) {
|
||||
- array_walk_recursive($valueFiltered, [$this, '_filterValue']);
|
||||
+ array_walk_recursive($valueFiltered, function (&$val, $key) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user