From 80a59de822d40afadef2a85fbc00d9492096f404 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 10 Oct 2023 21:28:27 +0200 Subject: [PATCH] Update minimum required PHP version for 3.3 --- development/extensions/new_in_proteus.rst | 5 +++- development/extensions/tutorial_testing.rst | 30 ++++++++----------- .../content/en/chapters/quick_start_guide.xml | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/development/extensions/new_in_proteus.rst b/development/extensions/new_in_proteus.rst index c0fb28b2..9b50b3be 100644 --- a/development/extensions/new_in_proteus.rst +++ b/development/extensions/new_in_proteus.rst @@ -18,10 +18,13 @@ This documentation explains: PHP 7 ===== -PHP 7.1.3 is the minimum version required by phpBB 3.3. It is unlikely that this should cause any problems for extensions. If your PHP code worked in phpBB 3.1 or 3.2, it should work in phpBB 3.3 as well. +PHP 7.2.0 is the minimum version required by phpBB 3.3. It is unlikely that this should cause any problems for extensions. If your PHP code worked in phpBB 3.1 or 3.2, it should work in phpBB 3.3 as well. If you intend to start using some of the new language constructs introduced in PHP 7, you must make your extension's minimum PHP requirement known to your users. This can include setting the minimum PHP version in your extension's ``composer.json`` file as well as designating phpBB 3.3 as a minimum requirement. You can also use the ``ext.php`` file to check that the minimum PHP and phpBB version requirements are satisfied in the ``is_enableable()`` method, which will prevent users who do not meet the requirements from accidentally installing your extension. Examples of this can be found `here `_. +.. note:: + The minimum required version of PHP was increased to 7.2.0 with the release of phpBB 3.3.11. Prior versions of phpBB 3.3 also supported a minimum PHP version of 7.1.3. + Symfony 3.4 =========== diff --git a/development/extensions/tutorial_testing.rst b/development/extensions/tutorial_testing.rst index 4e79232a..6e52102c 100644 --- a/development/extensions/tutorial_testing.rst +++ b/development/extensions/tutorial_testing.rst @@ -917,24 +917,22 @@ Copy the following into the ``tests.yml`` file: strategy: matrix: include: - - php: '7.1' + - php: '7.2' db: "mariadb:10.1" - - php: '7.1' + - php: '7.2' db: "mariadb:10.2" - - php: '7.1' + - php: '7.2' db: "mariadb:10.3" - - php: '7.1' + - php: '7.2' db: "mariadb:10.4" - - php: '7.1' + - php: '7.2' db: "mariadb:10.5" - - php: '7.1' + - php: '7.2' db: "mysql:5.6" db_alias: "MyISAM Tests" MYISAM: 1 - - php: '7.1' + - php: '7.2' db: "mysql:5.6" - - php: '7.1' - db: "mysql:5.7" - php: '7.2' db: "mysql:5.7" - php: '7.3' @@ -1035,18 +1033,16 @@ Copy the following into the ``tests.yml`` file: strategy: matrix: include: - - php: '7.1' + - php: '7.2' db: "postgres:9.5" - - php: '7.1' + - php: '7.2' db: "postgres:9.6" - - php: '7.1' + - php: '7.2' db: "postgres:10" - - php: '7.1' + - php: '7.2' db: "postgres:11" - - php: '7.1' + - php: '7.2' db: "postgres:12" - - php: '7.1' - db: "postgres:13" - php: '7.2' db: "postgres:13" - php: '7.3' @@ -1149,7 +1145,7 @@ Copy the following into the ``tests.yml`` file: strategy: matrix: include: - - php: '7.1' + - php: '7.2' db: "sqlite3" - php: '7.2' db: "mcr.microsoft.com/mssql/server:2017-latest" diff --git a/documentation/content/en/chapters/quick_start_guide.xml b/documentation/content/en/chapters/quick_start_guide.xml index d132d67a..84cab670 100644 --- a/documentation/content/en/chapters/quick_start_guide.xml +++ b/documentation/content/en/chapters/quick_start_guide.xml @@ -52,7 +52,7 @@ - PHP 7.1.3+ with support for the database you intend to use. + PHP 7.2.0+ with support for the database you intend to use. getimagesize() function enabled