Skip to content

Commit f7f7d58

Browse files
authored
Merge pull request #168 from rollbar/maint/updated-packages
Updated dependencies and supported PHP/WordPress
2 parents cbcddc3 + f5dba8f commit f7f7d58

11 files changed

Lines changed: 1307 additions & 1061 deletions

File tree

.github/workflows/php_unit.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ 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'
32+
- '6.6'
3433
- '6.7'
3534
- '6.8'
3635
- '6.9'
36+
- '7.0'
3737

3838
env:
3939
WP_ENV_PHP_VERSION: ${{ matrix.php }}
@@ -85,16 +85,12 @@ jobs:
8585
# ------------------------------------------------ #
8686

8787
- 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'
9088
run: npm run wp-env stop
9189

9290
- name: Build Plugin
93-
if: matrix.php != '8.5'
9491
run: bin/build.sh
9592

9693
- name: Copy Test Files
97-
if: matrix.php != '8.5'
9894
run: |
9995
cp .wp-env.json dist/.wp-env.json
10096
cp package.json dist/package.json
@@ -105,32 +101,26 @@ jobs:
105101
cp -r utils dist/utils
106102
107103
- name: Install Dist Composer Dependencies
108-
if: matrix.php != '8.5'
109104
working-directory: dist
110105
run: composer install --no-interaction --no-progress --no-suggest --optimize-autoloader
111106

112107
- name: Build Conflict Plugin
113-
if: matrix.php != '8.5'
114108
working-directory: dist
115109
run: npm run build-conflict
116110

117111
- name: Start Dist Docker environment
118-
if: matrix.php != '8.5'
119112
working-directory: dist
120113
run: npm run wp-env start
121114

122115
- name: Install Conflict Plugin
123-
if: matrix.php != '8.5'
124116
working-directory: dist
125117
run: npm run install-conflict
126118

127119
- name: Log running Dist Docker containers
128-
if: matrix.php != '8.5'
129120
working-directory: dist
130121
run: docker ps -a
131122

132123
- name: Running Dist unit tests
133-
if: matrix.php != '8.5'
134124
working-directory: dist
135125
# We don't run phpcs here because the dist files are modified by the build script.
136126
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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
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": {
1010
"yoast/phpunit-polyfills": "^4.0",
11-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
11+
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.1",
1212
"squizlabs/php_codesniffer": "^3.5",
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)