Skip to content

Commit 80a59de

Browse files
committed
Update minimum required PHP version for 3.3
1 parent 3acae3b commit 80a59de

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

development/extensions/new_in_proteus.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ This documentation explains:
1818
PHP 7
1919
=====
2020

21-
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.
21+
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.
2222

2323
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>`_.
2424

25+
.. note::
26+
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.
27+
2528
Symfony 3.4
2629
===========
2730

development/extensions/tutorial_testing.rst

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -917,24 +917,22 @@ Copy the following into the ``tests.yml`` file:
917917
strategy:
918918
matrix:
919919
include:
920-
- php: '7.1'
920+
- php: '7.2'
921921
db: "mariadb:10.1"
922-
- php: '7.1'
922+
- php: '7.2'
923923
db: "mariadb:10.2"
924-
- php: '7.1'
924+
- php: '7.2'
925925
db: "mariadb:10.3"
926-
- php: '7.1'
926+
- php: '7.2'
927927
db: "mariadb:10.4"
928-
- php: '7.1'
928+
- php: '7.2'
929929
db: "mariadb:10.5"
930-
- php: '7.1'
930+
- php: '7.2'
931931
db: "mysql:5.6"
932932
db_alias: "MyISAM Tests"
933933
MYISAM: 1
934-
- php: '7.1'
934+
- php: '7.2'
935935
db: "mysql:5.6"
936-
- php: '7.1'
937-
db: "mysql:5.7"
938936
- php: '7.2'
939937
db: "mysql:5.7"
940938
- php: '7.3'
@@ -1035,18 +1033,16 @@ Copy the following into the ``tests.yml`` file:
10351033
strategy:
10361034
matrix:
10371035
include:
1038-
- php: '7.1'
1036+
- php: '7.2'
10391037
db: "postgres:9.5"
1040-
- php: '7.1'
1038+
- php: '7.2'
10411039
db: "postgres:9.6"
1042-
- php: '7.1'
1040+
- php: '7.2'
10431041
db: "postgres:10"
1044-
- php: '7.1'
1042+
- php: '7.2'
10451043
db: "postgres:11"
1046-
- php: '7.1'
1044+
- php: '7.2'
10471045
db: "postgres:12"
1048-
- php: '7.1'
1049-
db: "postgres:13"
10501046
- php: '7.2'
10511047
db: "postgres:13"
10521048
- php: '7.3'
@@ -1149,7 +1145,7 @@ Copy the following into the ``tests.yml`` file:
11491145
strategy:
11501146
matrix:
11511147
include:
1152-
- php: '7.1'
1148+
- php: '7.2'
11531149
db: "sqlite3"
11541150
- php: '7.2'
11551151
db: "mcr.microsoft.com/mssql/server:2017-latest"

documentation/content/en/chapters/quick_start_guide.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</itemizedlist>
5353
</listitem>
5454
<listitem>
55-
<para>PHP 7.1.3+ with support for the database you intend to use.</para>
55+
<para>PHP 7.2.0+ with support for the database you intend to use.</para>
5656
</listitem>
5757
<listitem>
5858
<para>getimagesize() function enabled</para>

0 commit comments

Comments
 (0)