Change patch definition for zf1-future

This commit is contained in:
Johannes Meyer 2025-11-28 10:19:04 +01:00
parent 44fc91e408
commit fa2ea6cde6
4 changed files with 30 additions and 9 deletions

View File

@ -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
View File

@ -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
View 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"
}
}
]
}
}

View File

@ -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,7 +9,7 @@
{
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)) {