From 4f3c45aeb417fd16f6fe3ea4429cf492241c9319 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 12 Nov 2024 11:35:33 +0800 Subject: [PATCH] [docs] Update PHP Version Support statement (MDLSITE-7677) This applies the policy proposal made as Option B. --- general/development/policies/php.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/general/development/policies/php.md b/general/development/policies/php.md index f64fca2952..f865ee7eec 100644 --- a/general/development/policies/php.md +++ b/general/development/policies/php.md @@ -20,7 +20,7 @@ We always follow this agreed policy regarding PHP and Moodle supported versions: 1. A LTS will always **require the previous LTS** (or later) for upgrading. 2. The **maximum PHP version** supported for a branch will be the max one achieved along the life of the branch. Usually with .0 releases but may happen later (we added support for php80 with 3.11.8, or support for php81 with 4.1.2, for example). 3. The **minimum PHP** version supported for a branch will be **the lower of**: - - The [minimum version supported in any way by php](https://www.php.net/supported-versions.php) the day of the Moodle release (so we provide slow, progressive increments). + - The [minimum version supported in any way by php](https://www.php.net/supported-versions.php) that is under support for at least 12 more months when the new Moodle version gets released (so we provide slow, progressive increments). - The maximum PHP version supported by the previous LTS branch (so we guarantee jumping between LTS is possible without upgrading PHP at the same time).
@@ -33,7 +33,7 @@ Since Moodle 3.5 (MDL-59159), these rules apply to decide Minimum PHP and Moodle # A LTS will always require the previous LTS (or later) for upgrading. # The maximum PHP version supported for a branch will be the max one achieved along the life of the branch. Usually with .0 releases but may happen later (we added support for php80 with 3.11.8, or support for php81 with 4.1.2, for example). # The minimum PHP version supported for a branch will be *the lower of*: - -- The [minimum version supported in any way by php|http://php.net/supported-versions.php] the day of the Moodle release (so we provide slow, progressive increments). + -- The [minimum version supported in any way by php|http://php.net/supported-versions.php] that is under support for at least 12 more months when the new Moodle version gets released (so we provide slow, progressive increments). -- The maximum PHP version supported by the previous LTS branch (so we guarantee jumping between LTS is possible without upgrading PHP at the same time).{panel} ```