This commit is contained in:
Sukhwinder Dhillon 2025-11-28 12:23:51 +01:00
parent e00e46fb32
commit 1d15aea173
4 changed files with 15 additions and 5012 deletions

View File

@ -4,80 +4,13 @@
"description": "Icinga Web 2 - Bundle for all 3rd party PHP libraries", "description": "Icinga Web 2 - Bundle for all 3rd party PHP libraries",
"homepage": "https://github.com/Icinga/icinga-php-thirdparty", "homepage": "https://github.com/Icinga/icinga-php-thirdparty",
"license": "MIT", "license": "MIT",
"config": {
"sort-packages": true,
"allow-plugins": {
"cweagans/composer-patches": true
}
},
"support": { "support": {
"issues": "https://github.com/Icinga/icinga-php-thirdparty/issues" "issues": "https://github.com/Icinga/icinga-php-thirdparty/issues"
}, },
"require": { "require": {
"php": ">=8.2", "php": ">=8.2"
"ext-curl": "*",
"clue/block-react": "^1.5",
"clue/connection-manager-extra": "^1.3",
"clue/http-proxy-react": "^1.8",
"clue/mq-react": "^1.5",
"clue/redis-react": "^2.6",
"clue/soap-react": "^2",
"clue/socket-raw": "^1.6",
"clue/socks-react": "^1.4",
"clue/stdio-react": "^2.6",
"components/jquery": "3.7.*",
"cweagans/composer-patches": "~2.0",
"dompdf/dompdf": "^3.1.0",
"dragonmantank/cron-expression": "^3",
"erusev/parsedown": "^1.7.4",
"evenement/evenement": "^3.0.1",
"ezyang/htmlpurifier": "^4.16",
"guzzlehttp/guzzle": "^7.7",
"guzzlehttp/psr7": "^2.5",
"jfcherng/php-diff": "^6.10.14",
"predis/predis": "^3.0",
"psr/http-message": "^1.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^3",
"ramsey/uuid": "^4.2.3",
"react/child-process": "^0.6.5",
"react/datagram": "^1.9",
"react/dns": "^1.11",
"react/event-loop": "^1.4",
"react/http": "^1.9",
"react/promise": "^2.10",
"react/promise-stream": "^1.6",
"react/promise-timer": "^1.9",
"react/socket": "^1.13",
"react/stream": "^1.3",
"shardj/zf1-future": "^1.23.5",
"simshaun/recurr": "^5",
"tedivm/jshrink": "^1.6.8",
"wikimedia/less.php": "^3.2.1",
"zircote/swagger-php": "^5.5"
}, },
"autoload": { "autoload": {
"psr-0": { "AssetLoader": "" } "psr-0": { "AssetLoader": "" }
},
"scripts": {
"post-install-cmd": [
"AssetLoader::update"
],
"post-update-cmd": [
"AssetLoader::update"
]
},
"extra": {
"composer-exit-on-patch-failure": true,
"patches": {
"shardj/zf1-future": [
{
"description": "ZF1-Future: ZF backward compatibility",
"url": "patches/shardj-zf1-future.patch",
"depth": 1
}
]
}
} }
} }

4891
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
{
"_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,22 +0,0 @@
--- 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
*/
- protected function _filterValue(&$value, $key)
+ protected function _filterValue(&$value, &$key)
{
foreach ($this->getFilters() as $filter) {
$value = $filter->filter($value);
@@ -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) {
+ $this->_filterValue($val, $key);
+ });
} else {
$this->_filterValue($valueFiltered, $valueFiltered);
}