irfaardy /
raja-ongkir
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace Irfa\RajaOngkir; |
||||
| 4 | |||||
| 5 | use Illuminate\Support\ServiceProvider; |
||||
|
0 ignored issues
–
show
|
|||||
| 6 | |||||
| 7 | class RajaOngkirServiceProvider extends ServiceProvider |
||||
| 8 | { |
||||
| 9 | /** |
||||
| 10 | * Register services. |
||||
| 11 | * |
||||
| 12 | * @return void |
||||
| 13 | */ |
||||
| 14 | |||||
| 15 | protected $commands = [ |
||||
| 16 | 'Irfa\RajaOngkir\Console\Commands\ROCache', |
||||
| 17 | 'Irfa\RajaOngkir\Console\Commands\ROInfoPackage', |
||||
| 18 | ]; |
||||
| 19 | |||||
| 20 | public function register() |
||||
| 21 | { |
||||
| 22 | $this->commands($this->commands); |
||||
| 23 | |||||
| 24 | } |
||||
| 25 | |||||
| 26 | /** |
||||
| 27 | * Bootstrap services. |
||||
| 28 | * |
||||
| 29 | * @return void |
||||
| 30 | */ |
||||
| 31 | public function boot() |
||||
| 32 | { |
||||
| 33 | $this->publishes([ |
||||
| 34 | __DIR__.'/../resources/config/irfa/rajaongkir.php' => config_path('irfa/rajaongkir.php'), ], 'raja-ongkir'); |
||||
|
0 ignored issues
–
show
The function
config_path was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 35 | |||||
| 36 | $this->publishes([ |
||||
| 37 | __DIR__.'/../database/migrations/' => database_path('migrations'), |
||||
|
0 ignored issues
–
show
The function
database_path was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 38 | ], 'raja-ongkir'); |
||||
| 39 | |||||
| 40 | $this->publishes([__DIR__.'/../database/migrations/' => database_path('migrations'), |
||||
| 41 | ], 'raja-ongkir'); |
||||
| 42 | } |
||||
| 43 | } |
||||
| 44 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths