These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php namespace JackJoe\ActivityLog; |
||
2 | |||
3 | use Illuminate\Support\ServiceProvider; |
||
4 | |||
5 | class ActivityLogServiceProvider extends ServiceProvider { |
||
6 | /** |
||
7 | * Indicates if loading of the provider is deferred. |
||
8 | * |
||
9 | * @var bool |
||
10 | */ |
||
11 | protected $defer = false; |
||
12 | |||
13 | /** |
||
14 | * Bootstrap the application events. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | public function boot() |
||
19 | { |
||
20 | $this->publishes([ |
||
21 | __DIR__ . '/config/activity-log.php' => config_path('activity-log.php'), |
||
22 | ]); |
||
23 | |||
24 | $this->publishes([ |
||
25 | __DIR__ . '/migrations' => database_path('migrations'), |
||
26 | ], 'migrations'); |
||
27 | |||
28 | $this->mergeConfigFrom(__DIR__ . '/config/activity-log.php', 'activity-log'); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Register the service provider. |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | public function register() |
||
37 | { |
||
38 | // |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Get the services provided by the provider. |
||
43 | * |
||
44 | * @return array |
||
45 | */ |
||
46 | public function provides() |
||
47 | { |
||
48 | return []; |
||
49 | } |
||
50 | } |
||
0 ignored issues
–
show
|
|||
51 |
This check marks files that end in a newline character, i.e. an empy line.