Skip to content
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

Update stub to remove unused trait imports #52877

Merged
merged 2 commits into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions src/Illuminate/Foundation/Console/stubs/job.queued.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
namespace {{ namespace }};

use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Foundation\Queue\Queueable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;

class {{ class }} implements ShouldQueue
{
Expand Down
3 changes: 0 additions & 3 deletions tests/Integration/Generators/JobMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ public function testItCanGenerateJobFile()
$this->assertFileContains([
'namespace App\Jobs;',
'use Illuminate\Contracts\Queue\ShouldQueue;',
'use Illuminate\Foundation\Bus\Dispatchable;',
'use Illuminate\Foundation\Queue\Queueable;',
'use Illuminate\Queue\InteractsWithQueue;',
'use Illuminate\Queue\SerializesModels;',
'class FooCreated implements ShouldQueue',
'use Queueable;',
], 'app/Jobs/FooCreated.php');
Expand Down