Skip to content

Commit

Permalink
chore: update tested PHP version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Levdbas committed May 21, 2024
1 parent b0d7434 commit fb79cbc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
31 changes: 13 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,32 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1']
php: ['8.1', '8.2']
wp: ['latest']
multisite: ['0', '1']
extensions: ['gd']
coverage: [false]
experimental: [false]
include:
# WP Trunk
- php: '7.4'
# PHP 8.2 / experimental
- php: '8.2'
wp: 'trunk'
dependency-version: 'highest'
multisite: '0'
experimental: true
# PHP 8.0
- php: '8.0'
wp: 'latest'
# PHP 8.3 / experimental
- php: '8.3'
wp: 'trunk'
dependency-version: 'highest'
multisite: '0'
experimental: false
# PHP 8.1
experimental: true
# Coverage
- php: '8.1'
wp: 'latest'
dependency-version: 'highest'
multisite: '0'
coverage: true
experimental: false
# PHP 8.1 / experimental
- php: '8.1'
wp: 'trunk'
multisite: '0'
experimental: true
# PHP 8.2 / experimental
- php: '8.2'
wp: 'trunk'
multisite: '0'
experimental: true

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<arg name="basepath" value="." />

<!-- Set a minimum PHP version for PHPCompatibility -->
<config name="testVersion" value="7.4-" />
<config name="testVersion" value="8.1-" />

<rule ref="10up-Default" />
<rule ref="WordPress-Core" />
Expand Down

0 comments on commit fb79cbc

Please sign in to comment.