Skip to content

Commit

Permalink
Update compatibility for PHP7.4-8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Mar 1, 2024
1 parent 8553730 commit 0cab437
Show file tree
Hide file tree
Showing 4 changed files with 1,189 additions and 1,268 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.3','7.4']
php-versions: ['7.4','8.0','8.1','8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Tribe Storage

[![PHPCS + Unit Tests](https://github.com/moderntribe/tribe-storage/actions/workflows/pull-request.yml/badge.svg)](https://github.com/moderntribe/tribe-storage/actions/workflows/pull-request.yml)
![php 7.3+](https://img.shields.io/badge/php-min%207.3-red.svg)
![php 7.4+](https://img.shields.io/badge/php-min%207.4-red.svg)

This WordPress plugin works as a bridge to use [Flysystem](https://flysystem.thephpleague.com/v1/docs/) adapters (v1)
within WordPress. This plugin is meant to be installed and configured by **developers**, as it has no GUI.
Expand Down Expand Up @@ -30,7 +30,7 @@ define( 'WP_CONTENT_URL', ( tribe_isSSL() ? 'https' : 'http' ) . '://' . $host .
## Installation

**Requirements**
- PHP7.3+
- PHP7.4+
- WordPress 5.6+
- [Composer](https://getcomposer.org/)
- [Composer Installers](https://composer.rarst.net/recipe/paths-control/)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
],
"require": {
"php": "^7.3",
"php": ">=7.4",
"php-di/php-di": "^6.0",
"league/flysystem-azure-blob-storage": "^1.0",
"league/flysystem-cached-adapter": "^1.1",
Expand Down Expand Up @@ -72,7 +72,7 @@
"config": {
"sort-packages": true,
"platform": {
"php": "7.3.0"
"php": "7.4.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand Down
Loading

0 comments on commit 0cab437

Please sign in to comment.