Commit graph

9 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
6af3c7e595 CommandTransport: Implement chunked transmission handling
Previously, command forms were responsible for this. But they
don't have any notion of fallback handling and are unable to
ensure proper re-submission of failed batches.
2025-11-12 15:15:10 +01:00
Johannes Meyer
d5b1ba7f33 CommandTransport: Do not render failed commands again
Rendering may only be possible once, depending on the
command type.
2025-11-12 15:15:10 +01:00
Johannes Meyer
2a9c06e7f6 Some more fixes to make phpstan happy 2024-03-14 15:22:05 +01:00
Yonas Habteab
0c87e9e9b9 Change CommandTransport::send() void return type to mixed 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
3657a820fc CommandTransport: Return result in method send() 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