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.

Issues (11)

src/ServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ProcyonWeb\TranslationGenerator;
6
7
class ServiceProvider extends \Illuminate\Support\ServiceProvider
8
{
9
    /**
10
     * Register the service provider.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        if ($this->app->runningInConsole()) {
17
            $this->commands(
18
                [
19
                    GenerateCommand::class,
20
                    ShowFilesCommand::class,
21
                    ShowUntranslatedCommand::class,
22
                    DownloadCommand::class,
23
                ]
24
            );
25
        }
26
    }
27
28
    /**
29
     * Bootstrap any application services.
30
     *
31
     * @return void
32
     */
33
    public function boot()
34
    {
35
        $this->publishes(
36
            [
37
                __DIR__ . '/../config/translation.php' => config_path('translation.php'),
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 ignore-call  annotation

37
                __DIR__ . '/../config/translation.php' => /** @scrutinizer ignore-call */ config_path('translation.php'),
Loading history...
38
            ]
39
        );
40
    }
41
}