Skip to content

fix: ensure compatibility with PHPUnit 10 #353

fix: ensure compatibility with PHPUnit 10

fix: ensure compatibility with PHPUnit 10 #353

Workflow file for this run

name: "Backward Compatibility Check"
on:
pull_request:
paths: &paths
- .github/workflows/bc-check.yml
- bin/tools/bc-check
- src/**
push:
paths: *paths
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
roave_bc_check:
name: "Roave BC Check"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v5"
with:
fetch-depth: 0
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist
- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
with:
php-version: "8.5"
- name: Install roave/backward-compatibility-check.
run: composer bin bc-check require roave/backward-compatibility-check
- name: Run roave/backward-compatibility-check.
run: bin/tools/bc-check/vendor/roave/backward-compatibility-check/bin/roave-backward-compatibility-check --install-development-dependencies --format=github-actions