chore(php): bump minimum PHP version to 7.4 (#2925)
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php: ['7.3', '7.4', '8.0']
|
php: ['7.4', '8.0', '8.1']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the project
|
- name: Checkout the project
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ Sage is a productivity-driven WordPress starter theme with a modern development
|
|||||||
Make sure all dependencies have been installed before moving on:
|
Make sure all dependencies have been installed before moving on:
|
||||||
|
|
||||||
- [WordPress](https://wordpress.org/) >= 5.4
|
- [WordPress](https://wordpress.org/) >= 5.4
|
||||||
- [PHP](https://secure.php.net/manual/en/install.php) >= 7.3.0 (with [`php-mbstring`](https://secure.php.net/manual/en/book.mbstring.php) enabled)
|
- [PHP](https://secure.php.net/manual/en/install.php) >= 7.4.0 (with [`php-mbstring`](https://secure.php.net/manual/en/book.mbstring.php) enabled)
|
||||||
- [Composer](https://getcomposer.org/download/)
|
- [Composer](https://getcomposer.org/download/)
|
||||||
- [Node.js](http://nodejs.org/) >= 16
|
- [Node.js](http://nodejs.org/) >= 16
|
||||||
- [Yarn](https://yarnpkg.com/en/docs/install)
|
- [Yarn](https://yarnpkg.com/en/docs/install)
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.3|^8.0",
|
"php": "^7.4|^8.0",
|
||||||
"roots/acorn": "v2.0.0-beta.7"
|
"roots/acorn": "v2.0.0-beta.7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ Author URI: https://roots.io/
|
|||||||
Text Domain: sage
|
Text Domain: sage
|
||||||
License: MIT License
|
License: MIT License
|
||||||
License URI: https://opensource.org/licenses/MIT
|
License URI: https://opensource.org/licenses/MIT
|
||||||
Requires PHP: 7.3
|
Requires PHP: 7.4
|
||||||
Requires at least: 5.4
|
Requires at least: 5.4
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user