Issues (4)

src/ServiceProvider.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace JustSteveKing\EloquentLogDriver;
6
7
use JustSteveKing\EloquentLogDriver\Logger\EloquentLogger;
0 ignored issues
show
The type JustSteveKing\EloquentLo...r\Logger\EloquentLogger 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...
8
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
9
10
class ServiceProvider extends LaravelServiceProvider
11
{
12
    /**
13
     * Perform post-registration booting of services.
14
     *
15
     * @return void
16
     */
17 30
    public function boot()
18
    {
19 30
        $this->publishes([
20 30
            __DIR__ . '/../database/migrations/2020_02_27_003343_create_logs_table.php' =>
21
            database_path("/migrations/2020_02_27_003343_create_logs_table.php")
22 30
        ], 'migrations');
23
        $this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
24
    }
25 30
26
    public function register()
27
    {
28
        //
29
    }
30
}
31