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 (912)

Branch: main

tests/config/TestsServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Backpack\CRUD\Tests\config;
4
5
use Backpack\CRUD\ViewNamespaces;
6
7
class TestsServiceProvider extends \Illuminate\Support\ServiceProvider
8
{
9
    public function register()
10
    {
11
        // register theme views as coreuiv2, the default ui.namespace.
12
        $this->loadViewsFrom(__DIR__.'/views', 'backpack.theme-coreuiv2');
0 ignored issues
show
The method loadViewsFrom() does not exist on Backpack\CRUD\Tests\config\TestsServiceProvider. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        $this->/** @scrutinizer ignore-call */ 
13
               loadViewsFrom(__DIR__.'/views', 'backpack.theme-coreuiv2');

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
13
14
        foreach (['buttons', 'fields', 'columns'] as $domain) {
15
            ViewNamespaces::addFor($domain, 'backpack.theme-coreuiv2::'.$domain);
16
        }
17
18
        // Register the  facade alias for basset, alert and crud
19
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
20
        $loader->alias('Basset', \Backpack\Basset\Facades\Basset::class);
21
        $loader->alias('Alert', \Prologue\Alerts\Facades\Alert::class);
22
        $loader->alias('CRUD', \Backpack\CRUD\app\Library\CrudPanel\CrudPanelFacade::class);
23
    }
24
}
25