GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 20-21 lines in 2 locations

src/Console/Installation/Command.php 2 locations

@@ 30-49 (lines=20) @@
27
     *
28
     * @param Filesystem $files
29
     */
30
    public function fire(Filesystem $files)
31
    {
32
        if (! defined('SLEEPINGOWL_STUB_PATH')) {
33
            define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs');
34
        }
35
36
        if (! $this->confirmToProceed('SleepingOwl Admin')) {
37
            return;
38
        }
39
40
        $this->call('vendor:publish', [
41
            '--tag' => 'config',
42
            '--provider' => SleepingOwlServiceProvider::class,
43
        ]);
44
        $this->config = new Repository($this->laravel['config']->get('sleeping_owl'));
45
46
        $this->files = $files;
47
48
        $this->runInstaller();
49
    }
50
51
    /**
52
     * Execute the console command.
@@ 56-76 (lines=21) @@
53
     *
54
     * @param Filesystem $files
55
     */
56
    public function handle(Filesystem $files)
57
    {
58
        if (! defined('SLEEPINGOWL_STUB_PATH')) {
59
            define('SLEEPINGOWL_STUB_PATH', __DIR__.'/stubs');
60
        }
61
62
        if (! $this->confirmToProceed('SleepingOwl Admin')) {
63
            return;
64
        }
65
66
        $this->call('vendor:publish', [
67
            '--tag' => 'config',
68
            '--provider' => SleepingOwlServiceProvider::class,
69
        ]);
70
71
        $this->config = new Repository($this->laravel['config']->get('sleeping_owl'));
72
73
        $this->files = $files;
74
75
        $this->runInstaller();
76
    }
77
78
    abstract protected function runInstaller();
79