From 7d7df4a9fc195547a727b34d1c9cb9d5d9130cf8 Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Sun, 15 Nov 2026 13:24:18 -0800 Subject: [PATCH] test: deliberate PHP 8.3 feature in lib (do not merge) A typed class constant needs PHP 8.3. CI must fail on the PHP 8.2 jobs; this branch exists only to show that for #38 and will be deleted. Signed-off-by: Thomas Vincent --- lib/Log.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Log.php b/lib/Log.php index 6599ae7..cfd7993 100644 --- a/lib/Log.php +++ b/lib/Log.php @@ -26,6 +26,9 @@ * before it reaches here. */ final class Log { + // Deliberate PHP 8.3 feature (a typed class constant) to show CI refuses it (#38). Never merge. + public const string CI_CHECK = 'php83'; + public static function debug(string $message): void { cacti_log('DEBUG: ' . $message, false, 'CLOUD', POLLER_VERBOSITY_DEBUG); }