Skip to content

Commit 4407bba

Browse files
committed
Removed PHP 8.1 and WordPress 6.6 support, added WordPress 7.0 support.
1 parent 89ea7d3 commit 4407bba

6 files changed

Lines changed: 494 additions & 313 deletions

File tree

.github/workflows/php_unit.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
php:
27-
- '8.1'
2827
- '8.2'
2928
- '8.3'
3029
- '8.4'
3130
- '8.5'
3231
wordpress:
33-
- '6.5'
3432
- '6.7'
3533
- '6.8'
3634
- '6.9'
35+
- '7.0'
3736

3837
env:
3938
WP_ENV_PHP_VERSION: ${{ matrix.php }}
@@ -85,16 +84,12 @@ jobs:
8584
# ------------------------------------------------ #
8685

8786
- name: Stop Docker environment
88-
# Remove this check when https://github.com/humbug/php-scoper/issues/1139 is resolved.
89-
if: matrix.php != '8.5'
9087
run: npm run wp-env stop
9188

9289
- name: Build Plugin
93-
if: matrix.php != '8.5'
9490
run: bin/build.sh
9591

9692
- name: Copy Test Files
97-
if: matrix.php != '8.5'
9893
run: |
9994
cp .wp-env.json dist/.wp-env.json
10095
cp package.json dist/package.json
@@ -105,32 +100,26 @@ jobs:
105100
cp -r utils dist/utils
106101
107102
- name: Install Dist Composer Dependencies
108-
if: matrix.php != '8.5'
109103
working-directory: dist
110104
run: composer install --no-interaction --no-progress --no-suggest --optimize-autoloader
111105

112106
- name: Build Conflict Plugin
113-
if: matrix.php != '8.5'
114107
working-directory: dist
115108
run: npm run build-conflict
116109

117110
- name: Start Dist Docker environment
118-
if: matrix.php != '8.5'
119111
working-directory: dist
120112
run: npm run wp-env start
121113

122114
- name: Install Conflict Plugin
123-
if: matrix.php != '8.5'
124115
working-directory: dist
125116
run: npm run install-conflict
126117

127118
- name: Log running Dist Docker containers
128-
if: matrix.php != '8.5'
129119
working-directory: dist
130120
run: docker ps -a
131121

132122
- name: Running Dist unit tests
133-
if: matrix.php != '8.5'
134123
working-directory: dist
135124
# We don't run phpcs here because the dist files are modified by the build script.
136125
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This plugin integrates Rollbar into your WordPress installation.
4141

4242
| Plugin Version | PHP Version | WordPress Version | Support |
4343
|----------------|-------------|-------------------|---------------|
44-
| v3 | 8.1 to 8.5 | 6.5 to 6.9 | Full |
44+
| v3 | 8.2 to 8.5 | 6.6 to 7.0 | Full |
4545
| v2 | 7.0 to 8.3 | 5.8 to 6.8 | Not Supported |
4646

4747
### Through [WordPress Plugin directory](https://wordpress.org/plugins/rollbar/)

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "WordPress plugin for Rollbar",
44
"type": "wordpress-plugin",
55
"require": {
6-
"php": "^8.1",
6+
"php": "^8.2",
77
"rollbar/rollbar": "^4.1.3"
88
},
99
"require-dev": {
@@ -13,7 +13,7 @@
1313
"phpcompatibility/php-compatibility": "^9.3",
1414
"wp-coding-standards/wpcs": "^2.2",
1515
"sirbrillig/phpcs-variable-analysis": "^2.8",
16-
"humbug/php-scoper": "^0.18.7"
16+
"humbug/php-scoper": "^0.18.19"
1717
},
1818
"license": "GPL-2.0-or-later",
1919
"authors": [
@@ -46,6 +46,8 @@
4646
},
4747
"installer-name": "rollbar"
4848
},
49+
"minimum-stability": "dev",
50+
"prefer-stable": true,
4951
"scripts": {
5052
"test": [
5153
"@pre-test",

0 commit comments

Comments
 (0)