Skip to content

Commit 7bca2c6

Browse files
committed
Resume backward compatibility check
Use the fork rebased on the latest Roave BackwardCompatibilityCheck, which needs PHP 8.4. Dev dependencies are installed so that PHPStan\Testing classes can be reflected, and findings are reported as GitHub annotations. Amp-Thread-ID: https://ampcode.com/threads/T-01a18e4e-ef3d-77b9-85d1-deac9a4a2e18
1 parent 14f56c6 commit 7bca2c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/backward-compatibility.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # 2.40.0
4141
with:
4242
coverage: "none"
43-
php-version: "8.2"
43+
php-version: "8.4"
4444

4545
- uses: "ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda" # v4.0.0
4646

4747
- name: "Install BackwardCompatibilityCheck"
4848
run: |
4949
composer global config minimum-stability dev
5050
composer global config prefer-stable true
51-
composer global require --dev ondrejmirtes/backward-compatibility-check:^7.3.0.1
51+
composer global require --dev ondrejmirtes/backward-compatibility-check:^8.27.0.2
5252
5353
- name: "Check"
54-
run: '"$(composer global config bin-dir --absolute)"/roave-backward-compatibility-check'
54+
run: '"$(composer global config bin-dir --absolute)"/roave-backward-compatibility-check --install-development-dependencies --format=console --format=github-actions'

0 commit comments

Comments
 (0)