From 240261e50611106e94190a7f6152304b9526d46f Mon Sep 17 00:00:00 2001
From: Theo <328805+theodesp@users.noreply.github.com>
Date: Thu, 23 Jan 2025 10:24:13 +0000
Subject: [PATCH] chore: update plugin php min version to 7.4
---
plugins/faustwp/.phpcs.xml.dist | 2 +-
plugins/faustwp/composer.json | 3 ++-
plugins/faustwp/faustwp.php | 2 +-
plugins/faustwp/readme.txt | 42 ++++++++++++++++-----------------
4 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/plugins/faustwp/.phpcs.xml.dist b/plugins/faustwp/.phpcs.xml.dist
index d95fd23d7..fa349cb38 100644
--- a/plugins/faustwp/.phpcs.xml.dist
+++ b/plugins/faustwp/.phpcs.xml.dist
@@ -24,7 +24,7 @@
-
+
diff --git a/plugins/faustwp/composer.json b/plugins/faustwp/composer.json
index c37a7dc20..ace8b773b 100644
--- a/plugins/faustwp/composer.json
+++ b/plugins/faustwp/composer.json
@@ -58,6 +58,7 @@
}
},
"require": {
- "symfony/process": "^6.4.14"
+ "symfony/process": "^6.4.14",
+ "php": "^7.4 || ^8.0"
}
}
diff --git a/plugins/faustwp/faustwp.php b/plugins/faustwp/faustwp.php
index 1cc18804f..df55e1099 100644
--- a/plugins/faustwp/faustwp.php
+++ b/plugins/faustwp/faustwp.php
@@ -10,7 +10,7 @@
* Text Domain: faustwp
* Domain Path: /languages
* Version: 1.6.0
- * Requires PHP: 7.2
+ * Requires PHP: 7.4
* Requires at least: 5.7
* Update URI: false
*
diff --git a/plugins/faustwp/readme.txt b/plugins/faustwp/readme.txt
index 4c4bd20fd..e55575f2a 100644
--- a/plugins/faustwp/readme.txt
+++ b/plugins/faustwp/readme.txt
@@ -4,7 +4,7 @@ Tags: faustjs, faust, headless, decoupled, composable-architecture
Requires at least: 5.7
Tested up to: 6.6.1
Stable tag: 1.6.0
-Requires PHP: 7.2
+Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -52,24 +52,24 @@ plugins/faustwp/.wordpress-org/screenshot-1.png
plugins/faustwp/.wordpress-org/screenshot-2.png
plugins/faustwp/.wordpress-org/screenshot-3.png
-== Changelog ==
-
-= 1.6.0 =
-
-### Minor Changes
-
-- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.
-
-= 1.5.0 =
-
-### Minor Changes
-
-- 011cd931: - Added a custom PluginUpdater class to enable FaustWP plugin updates from an external API endpoint.
-
-= 1.4.1 =
-
-### Patch Changes
-
-- e80d80af: Tested up to WordPress v6.6.1
-
+== Changelog ==
+
+= 1.6.0 =
+
+### Minor Changes
+
+- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.
+
+= 1.5.0 =
+
+### Minor Changes
+
+- 011cd931: - Added a custom PluginUpdater class to enable FaustWP plugin updates from an external API endpoint.
+
+= 1.4.1 =
+
+### Patch Changes
+
+- e80d80af: Tested up to WordPress v6.6.1
+
[View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md)
\ No newline at end of file