Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Issues (184)

routes/plugin.php (3 issues)

Labels
Severity
1
<?php
2
3
use App\Model\Plugin;
4
use App\Classes\Interfaces\RouteableInterface;
0 ignored issues
show
The type App\Classes\Interfaces\RouteableInterface 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...
5
6
/*
7
    |--------------------------------------------------------------------------
8
    | Web Plugin Routes
9
    |--------------------------------------------------------------------------
10
    |
11
    | Front end routes or [isFrontEnd] & [UserPluginController] DO NOT REQUIRE AUTHENTICATION OR LOGIN TO VIEW.
12
    |
13
    | Back end routes or [isBackEnd] & [AdminPluginController] ALWAYS REQUIRES AUTHENTICATION OR A LOGIN TO BE VIEWED.
14
    |
15
    */
16
17
    /** @var Plugin $plugin */
18
    foreach (plugins()->enabled() as $plugin) {
19
        // does not require authentication.
20
        if ($plugin->isFrontEnd() && userPluginController($plugin->name()) instanceof RouteableInterface) {
0 ignored issues
show
The function userPluginController 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

20
        if ($plugin->isFrontEnd() && /** @scrutinizer ignore-call */ userPluginController($plugin->name()) instanceof RouteableInterface) {
Loading history...
21
            (userPluginController($plugin->name(), null, false))->routes(app('router'));
22
        }
23
24
        // requires authentication
25
        if ($plugin->isBackEnd() && adminPluginController($plugin->name()) instanceof RouteableInterface) {
0 ignored issues
show
The function adminPluginController 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

25
        if ($plugin->isBackEnd() && /** @scrutinizer ignore-call */ adminPluginController($plugin->name()) instanceof RouteableInterface) {
Loading history...
26
            (adminPluginController($plugin->name(), null, false))->routes(app('router'));
27
        }
28
    }
29