Issues (15)

src/IndoBankServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
/*
4
 * This file is part of the IndoBank package.
5
 *
6
 * (c) Andri Desmana <andridesmana.pw | [email protected]>
7
 *
8
 */
9
10
namespace Andes2912\IndoBank;
11
12
use Illuminate\Support\ServiceProvider;
0 ignored issues
show
The type Illuminate\Support\ServiceProvider was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
use Andes2912\IndoBank\IndoBankPublishCommand;
14
15
/**
16
 * IndoBank Service Provider
17
 */
18
class IndoBankServiceProvider extends ServiceProvider
19
{
20
    /**
21
     * Bootstrap the application services.
22
     *
23
     * @return void
24
     */
25
    public function boot()
26
    {
27
        if ($this->app->runningInConsole()) {
28
            $this->commands([
29
                IndoBankPublishCommand::class,
30
            ]);
31
        }
32
    }
33
34
    /**
35
     * Register the application services.
36
     *
37
     * @return void
38
     */
39
    public function register()
40
    {
41
42
    }
43
}