diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml
index 08d57eb..0ccf046 100644
--- a/.github/workflows/php-compatibility.yml
+++ b/.github/workflows/php-compatibility.yml
@@ -10,7 +10,7 @@ on:
jobs:
php_compatibility:
- name: PHP minimum 7.2
+ name: PHP minimum 7.3
runs-on: ubuntu-latest
steps:
@@ -28,4 +28,4 @@ jobs:
run: composer install
- name: Run PHP Compatibility
- run: ./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.2-
+ run: ./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.3-
diff --git a/README.md b/README.md
index 0b6f7de..52c0600 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This is the official WooCommerce extension to receive payments using the South A
- Requires at least: 6.1
- Tested up to: 6.2
-- Requires PHP: 7.2
+- Requires PHP: 7.3
### Why choose Payfast?
diff --git a/gateway-payfast.php b/gateway-payfast.php
index 56a8fa5..57e9cff 100644
--- a/gateway-payfast.php
+++ b/gateway-payfast.php
@@ -8,9 +8,9 @@
* Version: 1.5.8
* Requires at least: 6.1
* Tested up to: 6.2
- * WC tested up to: 7.8
- * WC requires at least: 7.2
- * Requires PHP: 7.2
+ * WC tested up to: 7.9
+ * WC requires at least: 7.7
+ * Requires PHP: 7.3
*/
use Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry;
diff --git a/package.json b/package.json
index 3563c11..dd8ec76 100644
--- a/package.json
+++ b/package.json
@@ -31,8 +31,7 @@
"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
"makepot": "wpi18n makepot --domain-path languages --pot-file $npm_package_name.pot --type plugin --main-file $npm_package_name.php --exclude node_modules,tests,docs",
"phpcs": "./vendor/bin/phpcs *.php includes -p",
- "phpcompat": "./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.2-",
- "env": "wp-env",
+ "env": "wp-env",
"env:start": "wp-env start",
"env:clean": "wp-env clean",
"env:stop": "wp-env stop",
@@ -43,6 +42,7 @@
"test:e2e-codegen": "npx playwright codegen",
"test:e2e-report": "npx playwright show-report tests/e2e/test-results/playwright-report",
"test:e2e-foundational": "npx playwright test --config tests/e2e/playwright.config.js --grep @foundational"
+ "phpcompat": "./vendor/bin/phpcs *.php includes -p --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.3-"
},
"config": {
"wp_org_slug": "woocommerce-payfast-gateway"
diff --git a/phpcs.xml b/phpcs.xml
index 6f622c8..b5760b1 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -11,6 +11,6 @@
*/vendor/*
-
+
diff --git a/readme.txt b/readme.txt
index 7e1ccb9..7e93b03 100644
--- a/readme.txt
+++ b/readme.txt
@@ -3,7 +3,7 @@ Contributors: woocommerce, automattic, royho, akeda, mattyza, bor0, woothemes, d
Tags: credit card, payfast, payment request, woocommerce, automattic
Requires at least: 6.1
Tested up to: 6.2
-Requires PHP: 7.2
+Requires PHP: 7.3
Stable tag: 1.5.8
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html