Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Bump WC and PHP versions (#7134)" #7213

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ on:
pull_request

env:
WC_MIN_SUPPORTED_VERSION: '7.7.0'
WP_MIN_SUPPORTED_VERSION: '6.1'
PHP_MIN_SUPPORTED_VERSION: '7.4'
GUTENBERG_VERSION_FOR_WP_MIN: '15.7.0'
WC_MIN_SUPPORTED_VERSION: '7.6.0'
WP_MIN_SUPPORTED_VERSION: '6.0'
PHP_MIN_SUPPORTED_VERSION: '7.3'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -24,7 +23,7 @@ jobs:
id: generate_matrix
run: |
WC_VERSIONS=$( echo "[\"$WC_MIN_SUPPORTED_VERSION\", \"latest\", \"beta\"]" )
MATRIX_INCLUDE=$( echo "[{\"woocommerce\":\"$WC_MIN_SUPPORTED_VERSION\",\"wordpress\":\"$WP_MIN_SUPPORTED_VERSION\",\"gutenberg\":\"$GUTENBERG_VERSION_FOR_WP_MIN\",\"php\":\"$PHP_MIN_SUPPORTED_VERSION\"}]" )
MATRIX_INCLUDE=$( echo "[{\"woocommerce\":\"$WC_MIN_SUPPORTED_VERSION\",\"wordpress\":\"$WP_MIN_SUPPORTED_VERSION\",\"gutenberg\":\"13.6.0\",\"php\":\"$PHP_MIN_SUPPORTED_VERSION\"}]" )
echo "matrix={\"woocommerce\":$WC_VERSIONS,\"wordpress\":[\"latest\"],\"gutenberg\":[\"latest\"],\"php\":[\"7.4\"], \"include\":$MATRIX_INCLUDE}" >> $GITHUB_OUTPUT

woocommerce-compatibility:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
E2E_SLACK_TOKEN: ${{ secrets.E2E_SLACK_TOKEN }}
E2E_USE_LOCAL_SERVER: false
E2E_RESULT_FILEPATH: 'tests/e2e/results.json'
WC_MIN_SUPPORTED_VERSION: '7.7.0'
WC_MIN_SUPPORTED_VERSION: '7.6.0'
NODE_ENV: 'test'
FORCE_E2E_DEPS_SETUP: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

env:
WP_VERSION: latest
WC_MIN_SUPPORTED_VERSION: '7.7.0'
WC_MIN_SUPPORTED_VERSION: '7.6.0'
GUTENBERG_VERSION: latest
PHP_MIN_SUPPORTED_VERSION: '7.4'
PHP_MIN_SUPPORTED_VERSION: '7.3'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- name: "Generate matrix"
id: generate_matrix
run: |
PHP_VERSIONS=$( echo "[\"$PHP_MIN_SUPPORTED_VERSION\", \"8.0\", \"8.1\"]" )
PHP_VERSIONS=$( echo "[\"$PHP_MIN_SUPPORTED_VERSION\", \"7.3\", \"7.4\"]" )
echo "matrix={\"php\":$PHP_VERSIONS}" >> $GITHUB_OUTPUT

test:
Expand Down
4 changes: 0 additions & 4 deletions changelog/dev-bump-min-wc-8-1-php-7-4

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minimum-stability": "dev",
"config": {
"platform": {
"php": "7.4"
"php": "7.3"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand All @@ -20,7 +20,7 @@
}
},
"require": {
"php": ">=7.4",
"php": ">=7.2",
"ext-json": "*",
"automattic/jetpack-connection": "1.51.7",
"automattic/jetpack-config": "1.15.2",
Expand Down
4 changes: 2 additions & 2 deletions phpcs-compat.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<exclude-pattern>tests/</exclude-pattern>

<!-- Configs -->
<config name="minimum_supported_wp_version" value="6.1" />
<config name="testVersion" value="7.4-" />
<config name="minimum_supported_wp_version" value="6.0" />
<config name="testVersion" value="7.3-" />

<rule ref="PHPCompatibility">
<!-- WP has sodium compatibility since https://wordpress.org/support/wordpress-version/version-5-2/ -->
Expand Down
4 changes: 2 additions & 2 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<exclude-pattern>./lib/*</exclude-pattern>

<!-- Configs -->
<config name="minimum_supported_wp_version" value="6.1" />
<config name="testVersion" value="7.4-" />
<config name="minimum_supported_wp_version" value="6.0" />
<config name="testVersion" value="7.3-" />

<!-- Rules -->
<rule ref="WooCommerce-Core" >
Expand Down
12 changes: 6 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== WooPayments - Fully Integrated Solution Built and Supported by Woo ===
Contributors: woocommerce, automattic
Tags: payment gateway, payment, apple pay, credit card, google pay, woocommerce payments
Requires at least: 6.1
Tested up to: 6.3
Requires PHP: 7.4
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 7.3
Stable tag: 6.4.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -38,9 +38,9 @@ Our global support team is available to answer questions you may have about WooP

= Requirements =

* WordPress 6.1 or newer.
* WooCommerce 7.7 or newer.
* PHP 7.4 or newer is recommended.
* WordPress 6.0 or newer.
* WooCommerce 7.6 or newer.
* PHP 7.3 or newer is recommended.

= Try it now =

Expand Down
8 changes: 4 additions & 4 deletions woocommerce-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* Woo: 5278104:bf3cf30871604e15eec560c962593c1f
* Text Domain: woocommerce-payments
* Domain Path: /languages
* WC requires at least: 7.7
* WC tested up to: 7.9.0
* Requires at least: 6.1
* Requires PHP: 7.4
* WC requires at least: 7.6
* WC tested up to: 7.8.0
* Requires at least: 6.0
* Requires PHP: 7.3
* Version: 6.4.2
*
* @package WooCommerce\Payments
Expand Down
Loading