1 | <?php namespace App\Providers; |
||
5 | class ConfigServiceProvider extends ServiceProvider |
||
6 | { |
||
7 | /** |
||
8 | * Overwrite any vendor / package configuration. |
||
9 | * |
||
10 | * This service provider is intended to provide a convenient location for you |
||
11 | * to overwrite any "vendor" or package configuration that you may want to |
||
12 | * modify before the application handles the incoming request / command. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function register() |
||
41 | } |
||
42 |
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.