Commit graph

12 commits

Author SHA1 Message Date
Bastian Lederer
8622514fcd Change implicit nullable type declaration to explicit
Since PHP 8.4 implicitly nullable parameter types are deprecated.

Normalize scoped PHPDoc for nullable-parameter updates: use `?Type` instead of
`Type|null` and remove column alignment.

Co-authored-by: "Eric Lippmann <eric.lippmann@icinga.com>"
2026-03-19 22:08:30 +01:00
Eric Lippmann
272e791390 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00
Johannes Meyer
20347acf82 Auth: Flatten semantically equal restrictions
This avoids several sub queries where just one is sufficient.
Before: `(a=b|c=d|e=f)|(g=h|i=j|k=l)|(m=n|o=p)`
After:  `(a=b|c=d|e=f|g=h|i=j|k=l|m=n|o=p)`

Whether this has a real advantage needs to be seen, but I
think it helps the query optimizers to better optimize :D
2026-03-02 14:49:05 +01:00
Sukhwinder Dhillon
279839d9da Align coding style to comply with latest PSR 2025-12-15 16:06:44 +01:00
raviks789
bfb4c511b6
StateBadgesTest: Account for change in visibility for createLink method 2024-10-31 09:46:52 +01:00
Johannes Meyer
4ff444340d Macros: Properly support CompatHost and CompatService
fixes #900
2023-10-13 09:03:03 +02:00
Johannes Meyer
959f06cafd Utilize ipl\Web\Url::setFilter() where applicable 2023-09-12 09:52:19 +02:00
Johannes Meyer
34ecf5d80f StateBadges: Require a real filter in method createLink 2023-07-21 10:24:10 +02:00
Johannes Meyer
4a0583f89d Add StateBadge(s) changes from ipl-web here 2023-07-20 10:20:09 +02:00
Johannes Meyer
3074e8861b MacrosTest: Drop Mockery usage 2023-01-18 12:13:15 +01:00
Johannes Meyer
1a73126938 Model: Implement createDefaults where applicable 2022-05-23 15:51:51 +02:00
Yonas Habteab
6748302a8e Test: Add Macros unit tests 2021-11-02 09:26:38 +01:00