From 1b016d42192b118f6e14b0319340c3d2dd5e37a5 Mon Sep 17 00:00:00 2001 From: Siddharth Thevaril Date: Thu, 5 Jan 2023 20:22:09 +0530 Subject: [PATCH] bump minimum PHP version from 7.0 to 7.4 --- README.md | 2 +- composer.json | 2 +- convert-to-blocks.php | 2 +- readme.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0348fe7..603892b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The `wp convert-to-blocks start` [WP-CLI command](https://github.com/10up/conver ## Requirements -* PHP 7.0+ +* PHP 7.4+ * WordPress 5.4+ * Inner Blocks Transforms is only supported with the Gutenberg Plugin 10.9.0+ diff --git a/composer.json b/composer.json index 8320062..790ff74 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=7.2" + "php": ">=7.4" }, "autoload": { "psr-4": { diff --git a/convert-to-blocks.php b/convert-to-blocks.php index ef45c66..818c75d 100644 --- a/convert-to-blocks.php +++ b/convert-to-blocks.php @@ -5,7 +5,7 @@ * Description: Convert classic editor posts to blocks on the fly. * Version: 1.1.0 * Requires at least: 5.4 - * Requires PHP: 7.0 + * Requires PHP: 7.4 * Author: 10up * Author URI: https://10up.com * License: GPLv2 or later diff --git a/readme.txt b/readme.txt index 160fdc7..c0290d2 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: 10up, dsawardekar, tlovett1 Tags: gutenberg, block, block migration, gutenberg migration, gutenberg conversion, convert to blocks Requires at least: 5.4 Tested up to: 6.1 -Requires PHP: 7.0 +Requires PHP: 7.4 Stable tag: 1.1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html