Skip to content

Commit

Permalink
chore: bump minimum PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 20, 2024
1 parent a0042ed commit 7df6eac
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 19 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/integration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,12 @@ jobs:
strategy:
matrix:
php: ["8.2", "8.1", "8.0"]
wordpress: ["6.6", "6.5", "6.4", "6.3", "6.2", "6.1", "6.0" ]
wordpress: ["6.6", "6.5", "6.4", "6.3", "6.2"]
include:
- php: "8.2"
wordpress: "6.6"
coverage: 1
# Test old versions against PHP 8.0
- php: "7.4"
wordpress: "6.1"
- php: "7.4"
wordpress: "6.0"
exclude:
# Old WP versions that dont support newer PHP versions
- php: "8.2"
wordpress: "6.0"
# New WP versions that dont support older PHP versions
- php: "8.0"
wordpress: "6.6"
Expand Down
2 changes: 1 addition & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Tests for WordPress version compatibility.
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
-->
<config name="minimum_wp_version" value="6.0"/>
<config name="minimum_wp_version" value="6.2"/>

<!-- Rules: WPGraphQL Coding Standards -->
<!-- https://github.com/AxeWP/WPGraphQL-Coding-Standards/WPGraphQL/ruleset.xml -->
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- feat!: Refactor Settings handling and storage.
- feat: Refactor admin package.
- feat: Add Upgrader class for handling plugin upgrades.
- chore!: Bump minimum WordPress version to 6.2.
- chore!: Remove `vendor`, `vendor-prefixed`, and `build` directories from the repository.
- chore: Update Composer dependencies.
- chore: Update NPM dependencies.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This plugin is inspired by and aims to replace <a href="https://github.com/wp-gr
## System Requirements

* PHP 7.4-8.2+
* WordPress 6.0+
* WordPress 6.2+
* WPGraphQL 1.14.0+

## Quick Install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lint:phpstan": "composer run-script phpstan",
"start": "rimraf build/* && cross-env BABEL_ENV=default CHECK_CIRCULAR_DEPS=true webpack --watch",
"ts:check": "tsc --build tsconfig.json",
"packages-update": "wp-scripts packages-update --dist-tag=wp-6.0",
"packages-update": "wp-scripts packages-update --dist-tag=wp-6.2",
"wp-env": "wp-env"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Headless Login for WPGraphQL ===
Contributors: axepress, justlevine
Tags: GraphQL, Gatsby, Headless, WPGraphQL, React, Rest, SSO, Social Login, OAuth, OAuth2, SAML, Authentication, JWT, Login, OpenID
Requires at least: 6.0
Requires at least: 6.2
Tested up to: 6.6.2
Requires PHP: 7.4
Requires WPGraphQL: 1.14.0
Expand Down
5 changes: 0 additions & 5 deletions tests/_data/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
<?php //phpcs:ignoreFile

// Fixes compatibility with WP6.0
if ( ! isset( $GLOBALS['wp_filters'] ) ) {
$GLOBALS['wp_filters'] = [];
}
2 changes: 1 addition & 1 deletion wp-graphql-headless-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Version: 0.3.1
* Text Domain: wp-graphql-headless-login
* Domain Path: /languages
* Requires at least: 6.0
* Requires at least: 6.2
* Tested up to: 6.6.2
* Requires PHP: 7.4
* Requires Plugins: wp-graphql
Expand Down

0 comments on commit 7df6eac

Please sign in to comment.