diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e426cfac..f7119f20 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,7 +5,6 @@ on: branches: - '*.x' pull_request: - workflow_dispatch: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/src/Concerns/InteractsWithTestCase.php b/src/Concerns/InteractsWithTestCase.php index 75a091e5..8e86bdb8 100644 --- a/src/Concerns/InteractsWithTestCase.php +++ b/src/Concerns/InteractsWithTestCase.php @@ -32,7 +32,7 @@ trait InteractsWithTestCase /** * The method attributes for test case. * - * @var array + * @var array * * @phpstan-var array, instance: TTestingFeature}> */ diff --git a/src/Foundation/Console/Actions/Action.php b/src/Foundation/Console/Actions/Action.php index b52518dd..0786a4ea 100644 --- a/src/Foundation/Console/Actions/Action.php +++ b/src/Foundation/Console/Actions/Action.php @@ -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;