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

PHP 8.* compatibility #58

Merged
merged 6 commits into from
Jun 17, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
php: ['7.3', '7.4']
php: ['8.1', '8.2']

steps:
- name: Checkout the project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
id: get_tag
run: echo ::set-output name=value::${GITHUB_REF/refs\/tags\//}

- name: Setup the PHP 7.3 environment on ${{ runner.os }}
- name: Setup the PHP 8.1 environment on ${{ runner.os }}
uses: shivammathur/setup-php@v2
with:
# Build with our minimum supported PHP version
php-version: '7.3'
php-version: '8.1'
coverage: xdebug

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Easily create Gutenberg Blocks with Advanced Custom Fields.

## Minimum Requirements

- [PHP](https://secure.php.net/manual/en/install.php) >= 7.3
- [PHP](https://secure.php.net/manual/en/install.php) >= 8.1
- [WordPress](https://wordpress.org/download/) (preferrably [Bedrock](https://roots.io/bedrock/)) >= 5.0
- [Advanced Custom Fields](https://www.advancedcustomfields.com/) >= 5.8.0

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^8.1",
"composer/installers": "^1.5|^2"
},
"require-dev": {
Expand Down
Loading
Loading