Skip to content

Commit

Permalink
[10.x] Update Symfony and PHPUnit dependencies (#71)
Browse files Browse the repository at this point in the history
* [10.x] Update Symfony and PHPUnit dependencies

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone authored Dec 26, 2024
1 parent 709e2b0 commit 63ba5f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/strict-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- 8.3
- 8.4
phpunit:
- "~10.5.35"
- "~11.3.6"
- "~11.4.0"
- "~11.5.0"
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 2 additions & 2 deletions src/Workbench.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}

Expand All @@ -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
);
}

Expand Down

0 comments on commit 63ba5f5

Please sign in to comment.