From 443e493161f1f8d3df941cd1f840c780eb1a1170 Mon Sep 17 00:00:00 2001 From: Nathan Knowler Date: Mon, 3 Jan 2022 05:40:40 -0600 Subject: [PATCH] chore(php): bump minimum PHP version to 7.4 (#2925) --- .github/workflows/main.yml | 2 +- README.md | 2 +- composer.json | 2 +- style.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56b76b2..134356e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]')" strategy: matrix: - php: ['7.3', '7.4', '8.0'] + php: ['7.4', '8.0', '8.1'] steps: - name: Checkout the project diff --git a/README.md b/README.md index 0a9bab4..a206f90 100644 --- a/README.md +++ b/README.md @@ -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: - [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/) - [Node.js](http://nodejs.org/) >= 16 - [Yarn](https://yarnpkg.com/en/docs/install) diff --git a/composer.json b/composer.json index 1431f71..0217d17 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ } }, "require": { - "php": "^7.3|^8.0", + "php": "^7.4|^8.0", "roots/acorn": "v2.0.0-beta.7" }, "require-dev": { diff --git a/style.css b/style.css index 97937bc..556600f 100644 --- a/style.css +++ b/style.css @@ -8,6 +8,6 @@ Author URI: https://roots.io/ Text Domain: sage License: MIT License License URI: https://opensource.org/licenses/MIT -Requires PHP: 7.3 +Requires PHP: 7.4 Requires at least: 5.4 */