From ec18361a815a0d34b80f81056803a6e2d1a93d5c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 27 Dec 2024 06:59:25 +0800 Subject: [PATCH 1/2] [10.x] Update Symfony and PHPUnit dependencies Signed-off-by: Mior Muhammad Zaki --- .github/workflows/strict-tests.yaml | 1 - composer.json | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/strict-tests.yaml b/.github/workflows/strict-tests.yaml index 16f8f64..d3b69c4 100644 --- a/.github/workflows/strict-tests.yaml +++ b/.github/workflows/strict-tests.yaml @@ -20,7 +20,6 @@ jobs: - 8.3 - 8.4 phpunit: - - "~10.5.35" - "~11.3.6" - "~11.4.0" - "~11.5.0" diff --git a/composer.json b/composer.json index 5d2f905..8b97c19 100644 --- a/composer.json +++ b/composer.json @@ -34,14 +34,14 @@ "orchestra/testbench-core": "^10.0", "symfony/polyfill-php83": "^1.31", "symfony/polyfill-php84": "^1.31", - "symfony/process": "^7.0.3", - "symfony/yaml": "^7.0.3" + "symfony/process": "^7.2", + "symfony/yaml": "^7.2" }, "require-dev": { "laravel/pint": "^1.17", "mockery/mockery": "^1.6.10", "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^10.5.35 || ^11.3.6" + "phpunit/phpunit": "^11.3.6" }, "suggest": { "ext-pcntl": "Required to use all features of the console signal trapping." From 6f4d78c72fb7ad2a9f5f0f22ea13e34411273e41 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 27 Dec 2024 07:12:54 +0800 Subject: [PATCH 2/2] wip Signed-off-by: Mior Muhammad Zaki --- src/Workbench.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Workbench.php b/src/Workbench.php index aeba4e9..49fab6f 100644 --- a/src/Workbench.php +++ b/src/Workbench.php @@ -51,7 +51,7 @@ public static function laravelPath(array|string $path = ''): string public static function packagePath(array|string $path = ''): string { return package_path( - ...Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path) + ...Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path) // @phpstan-ignore argument.named ); } @@ -63,7 +63,7 @@ public static function packagePath(array|string $path = ''): string public static function path(array|string $path = ''): string { return workbench_path( - ...Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path) + ...Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path) // @phpstan-ignore argument.named ); }