Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function perform() |
||
23 | { |
||
24 | $driver = $this->app['config']['queue.default']; |
||
25 | |||
26 | if ($driver === 'null') { |
||
27 | return $this->fail("Default queue driver must not be set to 'null' in production"); |
||
28 | } |
||
29 | |||
30 | if ($driver === 'sync') { |
||
31 | return $this->note('Sync queue driver is not recommended for production'); |
||
32 | } |
||
33 | |||
34 | return $this->ok(); |
||
35 | } |
||
36 | } |
||
37 |