1 | <?php |
||
7 | class ElimuswiftCoreServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap the application services. |
||
11 | */ |
||
12 | public function boot() |
||
16 | |||
17 | //end boot() |
||
18 | |||
19 | /** |
||
20 | * Register the application services. |
||
21 | */ |
||
22 | public function register() |
||
38 | |||
39 | //end register() |
||
40 | |||
41 | /** |
||
42 | * Load and publish app migration files. |
||
43 | **/ |
||
44 | protected function loadFiles() |
||
54 | |||
55 | //end loadFiles() |
||
56 | }//end class |
||
57 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.