From 23464732476f8474418f9e9733f535eb2f03a830 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Sat, 9 Nov 2024 01:13:07 +0100 Subject: [PATCH] [2.x] PHP 8.4 support (#90) * Add PHP 8.4 to matrix * Only test php 8.4 * Allow pestphp 2 * Ignore php constraint * Enable all workflows again * Add PHP 8.4 to matrix again * Debug Closures * Update tests.yml * Update tests.yml * Revert PHP 8.4 specific change, will be fixed with PHP 8.4RC2 * Update .github/workflows/tests.yml to trigger new build * wip * Bump PestPHP * Fix tests with namespacing * Revert "Fix tests with namespacing" This reverts commit 528e4221b5c501f98b26c4d94989d71bd9bcaa37. --------- Co-authored-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 5 ++++- composer.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 87cc73ba..b59ed91e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,13 +12,16 @@ on: jobs: linux_tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: true matrix: php: [8.1, 8.2, 8.3] laravel: [10, 11] + include: + - php: 8.4 + laravel: 11 exclude: - php: 8.1 laravel: 11 diff --git a/composer.json b/composer.json index 84d61804..baeec8ec 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require-dev": { "illuminate/support": "^10.0|^11.0", "nesbot/carbon": "^2.67|^3.0", - "pestphp/pest": "^2.34.7", + "pestphp/pest": "^2.36", "phpstan/phpstan": "^1.11.5", "symfony/var-dumper": "^6.2.0|^7.0.0" },