Skip to content

Commit

Permalink
Merge branch '8.x' into 9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Dec 11, 2024
2 parents 5548ee3 + d527e59 commit 91a6684
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- '*.x'
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/InteractsWithTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ trait InteractsWithTestCase
/**
* The method attributes for test case.
*
* @var array<int, array{key: class-string, instance: object}>
* @var array<int, array{key: class-string, instance: object}>
*
* @phpstan-var array<int, array{key: class-string<TTestingFeature>, instance: TTestingFeature}>
*/
Expand Down
3 changes: 1 addition & 2 deletions src/Foundation/Console/Actions/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ protected function pathLocation(string $path): string
return implode('/', [$prefix, ltrim($path, '/')]);
}


if (str_starts_with($path, $packagePath)) {
return sprintf('./%s', ltrim(str_replace($packagePath, '', $path), '/'));
return \sprintf('./%s', ltrim(str_replace($packagePath, '', $path), '/'));
}

return $path;
Expand Down

0 comments on commit 91a6684

Please sign in to comment.