Issues (98)

src/Admin/HealthCheckAdmin.php (5 issues)

1
<?php
2
3
namespace Sunnysideup\HealthCheckProvider\Admin;
4
5
use SilverStripe\Admin\ModelAdmin;
0 ignored issues
show
The type SilverStripe\Admin\ModelAdmin 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...
6
use Sunnysideup\HealthCheckProvider\Model\HealthCheckItemProvider;
7
use Sunnysideup\HealthCheckProvider\Model\HealthCheckProvider;
8
use Sunnysideup\HealthCheckProvider\Model\HealthCheckProviderSecurity;
9
10
class HealthCheckAdmin extends ModelAdmin
11
{
12
    private static $managed_models = [
0 ignored issues
show
The private property $managed_models is not used, and could be removed.
Loading history...
13
        HealthCheckProviderSecurity::class,
14
        HealthCheckProvider::class,
15
        HealthCheckItemProvider::class,
16
    ];
17
18
    private static $url_segment = 'health';
0 ignored issues
show
The private property $url_segment is not used, and could be removed.
Loading history...
19
20
    private static $menu_title = 'Health Check';
0 ignored issues
show
The private property $menu_title is not used, and could be removed.
Loading history...
21
22
    private static $menu_icon_class = 'font-icon-checklist';
0 ignored issues
show
The private property $menu_icon_class is not used, and could be removed.
Loading history...
23
}
24