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

[9.x] Supports PHP 8.4 #106

Merged
merged 19 commits into from
Nov 20, 2024
1 change: 1 addition & 0 deletions .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
php:
- 8.2
- 8.3
- 8.4
experimental:
- true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/strict-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: vendor/laravel/dusk/bin/chromedriver-linux --port=9515 &

- name: Execute tests
run: vendor/bin/phpunit --fail-on-warning --fail-on-deprecation --fail-on-notice
run: vendor/bin/phpunit --fail-on-warning --fail-on-deprecation --fail-on-notice --display-deprecations
env:
RAY_ENABLED: false

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
php:
- 8.2
- 8.3
- 8.4
phpunit:
- "~10.5.35"
- "~11.3.6"
Expand All @@ -38,7 +39,7 @@ jobs:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@
"orchestra/testbench": "^9.6",
"orchestra/testbench-core": ">=9.6.0 <9.7.0",
"php-webdriver/webdriver": "^1.15.1",
"symfony/polyfill-php83": "^1.31"
"symfony/polyfill-php83": "^1.31",
"symfony/polyfill-php84": "^1.31"
},
"require-dev": {
"laravel/pint": "^1.17",
"laravel/framework": "^11.33.2",
"laravel/tinker": "^2.9",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5 || ^11.0"
"phpunit/phpunit": "^10.5.35 || ^11.3.6"
},
"config": {
"preferred-install": {
Expand Down
1 change: 1 addition & 0 deletions src/Concerns/CanServeSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public function createServingApplicationForDuskServer(DuskServer $server)
*
* @codeCoverageIgnore
*/
#[\Deprecated('Use `createServingApplicationForDuskServer()` instead', since: '6.40.0')]
public function getFreshApplicationToServe(DuskServer $server)
{
return $this->createServingApplicationForDuskServer($server);
Expand Down