Commit graph

12 commits

Author SHA1 Message Date
Bastian Lederer
5bba8ba0ec Only add display groups for defined buttons
Elements passed to ZendForm::addDisplayGroup will be used as array keys,
if they are null that causes a deprecation warning since PHP-8.5.
To avoid this all null values are removed.
2026-01-09 08:23:54 +01:00
Bastian Lederer
400ad69497 Replace null as array key with an empty string
Using null as an array key is deprecated in PHP-8.5,
an empty string can be used for identical behavior.
This includes values that are passed to ZendForm::addDisplayGroup as elements,
as they will be used as array keys.
2026-01-08 08:21:08 +01:00
Bastian Lederer
615d0afd10 Declare parameters that are null by default as nullable
Implicitly nullable parameters are deprecated since PHP-8.4
2026-01-08 08:07:59 +01:00
Eric Lippmann
c85b9d98fe Align coding style to comply with latest PSR 2025-12-12 12:44:49 +01:00
Sukhwinder Dhillon
52732dc3c7 QuickForm: Make property $successUrl nullable and add phpDoc to setAction() 2023-08-24 13:29:11 +02:00
Sukhwinder Dhillon
6306b5306c Define variable type when method returns a class object
- This helps the IDE to find class methods and resolves the `call to an undefined method` issue
2023-08-24 13:04:29 +02:00
Johannes Meyer
fcadf2d6b4 Use Web 2's form style 2021-12-17 13:10:19 +01:00
Alexander A. Klimov
e4e651cbe8 Make node removal working as expected
refs #132
2017-12-04 14:14:06 +01:00
Thomas Gelf
d87edba377 Just a couple of newlines to satisfy latest PSR2
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
0380e46552 Form: upgrade to latest forms from Director 2016-12-08 10:11:46 +01:00
Thomas Gelf
98241dd9cd QuickForm: a couple of small changes 2016-11-23 15:17:25 +01:00
Thomas Gelf
0c633491d4 QuickForm: initial import, makes things easier 2015-10-06 22:33:05 +02:00