Skip to content

Commit

Permalink
Update minimum required PHP version for 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed Oct 10, 2023
1 parent 3acae3b commit 80a59de
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
5 changes: 4 additions & 1 deletion development/extensions/new_in_proteus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tutorial_advanced.html#using-installation-commands-in-ext-php>`_.

.. 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
===========

Expand Down
30 changes: 13 additions & 17 deletions development/extensions/tutorial_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion documentation/content/en/chapters/quick_start_guide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</itemizedlist>
</listitem>
<listitem>
<para>PHP 7.1.3+ with support for the database you intend to use.</para>
<para>PHP 7.2.0+ with support for the database you intend to use.</para>
</listitem>
<listitem>
<para>getimagesize() function enabled</para>
Expand Down

0 comments on commit 80a59de

Please sign in to comment.