Skip to content

Commit

Permalink
Merge branch 'trunk' into dev/issue-128
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk authored Sep 15, 2023
2 parents d442ae1 + 28a02f3 commit 0ac48f1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
php_compatibility:
name: PHP minimum 7.2
name: PHP minimum 7.3
runs-on: ubuntu-latest

steps:
Expand All @@ -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-
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
6 changes: 3 additions & 3 deletions gateway-payfast.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<exclude-pattern>*/vendor/*</exclude-pattern>

<!-- ensure we are using language features according to supported PHP versions -->
<config name="testVersion" value="7.2-"/>
<config name="testVersion" value="7.3-"/>
<rule ref="PHPCompatibility" />
</ruleset>
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ac48f1

Please sign in to comment.