Skip to content

Commit

Permalink
Merge pull request #58 from lukasbesch/php-8
Browse files Browse the repository at this point in the history
PHP 8.* compatibility
  • Loading branch information
scriptovski authored Jun 17, 2024
2 parents 4240d73 + 18b6669 commit 4607f7a
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 57 deletions.
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

0 comments on commit 4607f7a

Please sign in to comment.