Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Supports PHP 8.4 #1131

Draft
wants to merge 6 commits into
base: 8.x
Choose a base branch
from
Draft
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
9 changes: 6 additions & 3 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
phpunit: [10.5, '11.0']
include:
- php: 8.4
laravel: 11
phpunit: 11.3
exclude:
- php: 8.1
laravel: 11
Expand All @@ -44,8 +48,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress

- name: Upgrade Chrome Driver
run: php vendor/bin/testbench dusk:chrome-driver --detect
Expand All @@ -57,6 +60,6 @@ jobs:
run: php vendor/bin/testbench serve --no-reload &

- name: Execute tests
run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist
run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --fail-on-deprecation --display-deprecations
env:
APP_URL: http://127.0.0.1:8000
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
phpunit: [10.5, '11.0']
include:
- php: 8.4
laravel: 11
phpunit: 11.3
exclude:
- php: 8.1
laravel: 11
Expand All @@ -44,20 +48,19 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit -c phpunit.xml.dist
run: vendor/bin/phpunit -c phpunit.xml.dist --fail-on-deprecation --display-deprecations

stub-tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: [8.2]
laravel: [10]
php: [8.2, 8.3]
laravel: [10, 11]

name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand Down
Loading