From 7cd5b5aede5bc8ca455105c3c8bd678d5ef5fa97 Mon Sep 17 00:00:00 2001 From: janmazanek <15344590+janmazanek@users.noreply.github.com> Date: Wed, 11 Feb 2026 13:34:22 +0100 Subject: [PATCH] Since PHP 8.5 semicolon is deprecated to terminate case in switch According to https://www.php.net/releases/8.5/en.php#features: Terminating case statements with a semicolon instead of a colon has been deprecated. --- language/control-structures/switch.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/control-structures/switch.xml b/language/control-structures/switch.xml index 3ffa3a6098ca..6394fef83333 100644 --- a/language/control-structures/switch.xml +++ b/language/control-structures/switch.xml @@ -269,7 +269,7 @@ endswitch; - It's possible to use a semicolon instead of a colon after a case like: + Deprecated in 8.5: It's possible to use a semicolon instead of a colon after a case like: