Skip to content

Commit 1d21653

Browse files
committed
Prevent deprecations from BrowserKitDriver on PHP 8.5 from failing tests
1 parent d476894 commit 1d21653

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
nohup php -S 0.0.0.0:8080 -t features/fixtures/project/web > features/fixtures/project/var/logs/server.log 2>&1 &
5454
sleep 5
5555
- name: Functional tests
56-
run: vendor/bin/behat --no-snippets --format=progress --profile=actions -vvv
56+
run: php -d error_reporting=6143 vendor/bin/behat --no-snippets --format=progress --profile=actions -vvv
5757
- name: Upload logs
5858
uses: actions/upload-artifact@master
5959
with:

behat.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
default: &default
3+
calls:
4+
error_reporting: 6143 # 'E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED'
35
suites:
46
default:
57
contexts:

0 commit comments

Comments
 (0)