Skip to content

Commit 5652edb

Browse files
authored
Update minimum required PHP version to 7.2 (#48)
The new SQLite driver already uses some features from PHP 7.2. WordPress [recommends](https://wordpress.org/about/requirements/) PHP 7.4+ and requires PHP 7.2.24+. Closes #12.
1 parent 278d41c commit 5652edb

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/phpunit-tests.yml

-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ ubuntu-latest ]
20-
# NOTE: There does not appear to be a single phpunit version that supports all
21-
# PHP versions tested here. For now, we are removing PHP 7.0. and 7.1 tests
22-
# in order to run a single phpunit version for PHP 7.2 and up.
2320
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
2421

2522
with:

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"issues": "https://github.com/wordpress/sqlite-database-integration/issues"
99
},
1010
"require": {
11-
"php": ">=7.0",
11+
"php": ">=7.2",
1212
"ext-pdo": "*",
1313
"ext-pdo_sqlite": "*"
1414
},

load.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: SQLite database driver drop-in.
55
* Author: The WordPress Team
66
* Version: 2.1.17-alpha
7-
* Requires PHP: 7.0
7+
* Requires PHP: 7.2
88
* Textdomain: sqlite-database-integration
99
*
1010
* This feature plugin allows WordPress to use SQLite instead of MySQL as its database.

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Contributors: wordpressdotorg, aristath, janjakes, zieladam, berislav.grgicak, bpayton, zaerl
44
Requires at least: 6.4
55
Tested up to: 6.6.1
6-
Requires PHP: 7.0
6+
Requires PHP: 7.2
77
Stable tag: 2.1.17-alpha
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

0 commit comments

Comments
 (0)