Commit graph

10 commits

Author SHA1 Message Date
Alexander A. Klimov
ae7ef2810f Use the empty string as array index, not null
Otherwise, PHP complains:
Using null as an array offset is deprecated, use an empty string instead.
2026-04-16 09:38:24 +02:00
Ravi Srinivasa
add4301750 Revert the changes made for shardj/zf1-future compatibility in (#3035)
Some checks are pending
L10n Update / update (push) Waiting to run
PHP Tests / Static analysis for php 7.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 7.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 7.4 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.0 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.1 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Waiting to run
The patch that was dropped in icinga-php-thidparty version 0.15.0, will be applied in the Icinga/zf1 fork.
And with the icinga-php-thirdparty version 0.15.1, this changes are obsolete and also will not break compatibility
with earlier versions of icinga-php-thirdparty.
2026-03-31 17:30:28 +02:00
Eric Lippmann
e13d840ace
Fix Icinga/zf1 compat (#3035)
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 7.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 7.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 7.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.0 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.1 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
The method signature of `Zend_Form_Element::_filterValue()` was changed
years ago in `shardj/zf1-future`, but we provided a patch so that
Director did not need to be modified to maintain compatibility between
multiple library versions. With the upcoming support for PHP 8.5, we no
longer need to support older library versions and can adapt Director to
be compatible with the changed signature.
2026-03-12 16:49:25 +01:00
Thomas Gelf
fa3042c39f Boolean: keep value when validating
Might fix weird issues related to booleans
2017-08-18 16:15:30 +02:00
Thomas Gelf
b11c6b9f34 Boolean: hardcode isValid for true/false
Not perfect, but should do the job unless we move to better forms

fixes #690
2017-07-14 13:21:42 +02:00
Thomas Gelf
9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Thomas Gelf
c1e80afff4 Boolean: fix multiedit-related issues
fixes #13131
2016-12-13 16:04:09 +01:00
Thomas Gelf
0ce8a29b52 Boolean: form sends '' for null value 2016-05-24 19:59:02 +02:00
Thomas Gelf
7622200f2e Element/Boolean: ignore PHPCS violation as of ZF1 2016-05-19 20:54:18 +02:00
Thomas Gelf
41731241c5 DataTypeBoolean: provide a new data type
fixes #11594
2016-05-19 14:59:25 +02:00