Skip to content
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
14 changes: 2 additions & 12 deletions .github/workflows/php_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
fail-fast: false
matrix:
php:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
- '8.5'
wordpress:
- '6.5'
- '6.6'
- '6.7'
- '6.8'
- '6.9'
- '7.0'

env:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
Expand Down Expand Up @@ -85,16 +85,12 @@ jobs:
# ------------------------------------------------ #

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

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

- name: Copy Test Files
if: matrix.php != '8.5'
run: |
cp .wp-env.json dist/.wp-env.json
cp package.json dist/package.json
Expand All @@ -105,32 +101,26 @@ jobs:
cp -r utils dist/utils

- name: Install Dist Composer Dependencies
if: matrix.php != '8.5'
working-directory: dist
run: composer install --no-interaction --no-progress --no-suggest --optimize-autoloader

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

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

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

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

- name: Running Dist unit tests
if: matrix.php != '8.5'
working-directory: dist
# We don't run phpcs here because the dist files are modified by the build script.
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This plugin integrates Rollbar into your WordPress installation.

| Plugin Version | PHP Version | WordPress Version | Support |
|----------------|-------------|-------------------|---------------|
| v3 | 8.1 to 8.5 | 6.5 to 6.9 | Full |
| v3 | 8.2 to 8.5 | 6.6 to 7.0 | Full |
| v2 | 7.0 to 8.3 | 5.8 to 6.8 | Not Supported |

### Through [WordPress Plugin directory](https://wordpress.org/plugins/rollbar/)
Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"description": "WordPress plugin for Rollbar",
"type": "wordpress-plugin",
"require": {
"php": "^8.1",
"php": "^8.2",
"rollbar/rollbar": "^4.1.3"
},
"require-dev": {
"yoast/phpunit-polyfills": "^4.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.1",
"squizlabs/php_codesniffer": "^3.5",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.2",
"sirbrillig/phpcs-variable-analysis": "^2.8",
"humbug/php-scoper": "^0.18.7"
"humbug/php-scoper": "^0.18.19"
},
"license": "GPL-2.0-or-later",
"authors": [
Expand Down Expand Up @@ -46,6 +46,8 @@
},
"installer-name": "rollbar"
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test": [
"@pre-test",
Expand Down
Loading