Commit graph

17 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
Sukhwinder Dhillon
279839d9da Align coding style to comply with latest PSR 2025-12-15 16:06:44 +01:00
Johannes Meyer
17b4d96744 ObjectsCommand: Introduce property $chunkSize 2025-11-07 15:12:12 +01:00
Johannes Meyer
2c1b4dd5db ObjectsCommand: Expect instances of Iterator as objects 2025-11-07 14:34:26 +01:00
Johannes Meyer
f85f893f81 Deprecate old type-specific schedule downtime commands 2024-12-09 12:51:12 +01:00
Johannes Meyer
464a440f0f Introduce new class ScheduleDowntimeCommand
Covers the full functionality of the schedule-downtime
endpoint of Icinga 2's api now.

fixes #1090
2024-12-09 12:51:12 +01:00
Johannes Meyer
ac6273be73 ObjectsCommand: Don't accept generators anymore 2024-04-08 09:17:04 +02:00
Johannes Meyer
987a0a3416 Don't pass an array to ObjectsCommand::setObjects()
fixes #832
2023-08-10 13:45:56 +02:00
Alexander A. Klimov
137de73fd6 Provide ObjectsCommand#setObject() for compatibility 2023-08-02 12:44:02 +02:00
Alexander A. Klimov
bbf2739b6e DeleteDowntimeCommand: process multiple objects at once 2023-08-02 12:44:02 +02:00
Alexander A. Klimov
cd5f52c1bc DeleteCommentCommand: process multiple objects at once 2023-08-02 12:44:02 +02:00
Alexander A. Klimov
b4222228cc ObjectCommand and derivates: handle multiple objects 2023-08-02 12:44:02 +02:00
Yonas Habteab
964b5f2f9a ProcessCheckResultCommand: setPerfData() may not get always a valid data 2021-11-08 13:28:57 +01:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Johannes Meyer
6f08fdac92 Introduce new command class GetObjectCommand 2021-05-11 13:24:56 +02:00
Johannes Meyer
c6832d5740 Add monitoring's command implementation
Without all the Icinga 1.x burden and weird work-arounds.
2021-03-09 09:13:20 +01:00