Issues (533)

src/ServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace FamilyTree365\LaravelGedcom;
4
5
use FamilyTree365\LaravelGedcom\Commands\GedcomImporter;
6
use FamilyTree365\LaravelGedcom\Utils\GedcomParser;
7
8
class ServiceProvider extends \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...
9
{
10
    public function register()
11
    {
12
        $this->commands([
13
            GedcomImporter::class,
14
        ]);
15
16
        $this->app->bind('FamilyTree365/laravel-gedcom:parser', function () {
17
            return new GedcomParser();
18
        });
19
    }
20
21
    public function boot()
22
    {
23
        $this->loadMigrationsFrom(__DIR__.'/migrations/');
24
    }
25
}
26