Skip to content

Commit 218dbc2

Browse files
committed
ci: Remove Infection dependency due to incompatibility with PHP 8.2
1 parent f1d4290 commit 218dbc2

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
- name: 🤖 Validate composer.json and composer.lock
3939
run: composer validate --ansi --strict
4040

41+
# Infection is dev-only and requires PHP >= 8.3, which breaks installation
42+
# on the 8.2 matrix leg. It is not needed for the security audit.
43+
- name: 🧹 Remove Infection (incompatible with PHP 8.2)
44+
run: composer remove --dev infection/infection --no-update --no-interaction
45+
4146
- name: 📥 Install dependencies with composer
4247
uses: ramsey/composer-install@v3
4348
with:

.github/workflows/testing.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
- name: 🤖 Validate composer.json and composer.lock
4545
run: composer validate --ansi --strict
4646

47+
# Infection is dev-only and requires PHP >= 8.3, which breaks installation
48+
# on the 8.2 matrix leg. It is not needed to run the test suite.
49+
- name: 🧹 Remove Infection (incompatible with PHP 8.2)
50+
run: composer remove --dev infection/infection --no-update --no-interaction
51+
4752
- name: 📥 Install dependencies with composer
4853
uses: ramsey/composer-install@v3
4954
env:

0 commit comments

Comments
 (0)