We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
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
|
|||
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 |
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.