FakeJob   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 21
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A handle() 0 2 1
1
<?php
2
3
namespace Tests;
4
5
use Illuminate\Bus\Queueable;
6
use Illuminate\Queue\SerializesModels;
7
use Illuminate\Queue\InteractsWithQueue;
8
use Illuminate\Contracts\Queue\ShouldQueue;
9
use Illuminate\Foundation\Bus\Dispatchable;
10
11
class FakeJob implements ShouldQueue
12
{
13
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Tests\FakeJob: $id, $relations, $class, $keyBy
Loading history...
14
15
    /**
16
     * Create a new job instance.
17
     *
18
     * @return void
19
     */
20
    public function __construct()
21
    {
22
        //
23
    }
24
25
    /**
26
     * Execute the job.
27
     *
28
     * @return void
29
     */
30
    public function handle()
31
    {
32
        //
33
    }
34
}
35