8000 [9.x] Unify trait set up/tear down and other hooks under a `Hook` implementation by inxilpro · Pull Request #39947 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[9.x] Unify trait set up/tear down and other hooks under a Hook implementation #39947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Code style
  • Loading branch information
inxilpro committed Dec 9, 2021
commit 3e50f9b3dc30b79d8d8dfa5806e6fc2fe162f1e0
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Concerns/CreatesMatchingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function registerCreatesMatchingTestGenerateHook(): Hook
{
return Hook::make('generate', function ($name, $path) {
// We want to run test creation after generation, so we'll return a callback to execute at the end
return fn() => $this->handleTestCreation($path);
return fn () => $this->handleTestCreation($path);
});
}

Expand Down
0