rexlabsio /
smokescreen-laravel-php
| 1 | <?php |
||||||
| 2 | |||||||
| 3 | namespace Rexlabs\Laravel\Smokescreen\Providers; |
||||||
| 4 | |||||||
| 5 | use Illuminate\Support\ServiceProvider as BaseServiceProvider; |
||||||
| 6 | use Rexlabs\Laravel\Smokescreen\Console\MakeTransformerCommand; |
||||||
| 7 | use Rexlabs\Laravel\Smokescreen\Smokescreen; |
||||||
| 8 | |||||||
| 9 | class ServiceProvider extends BaseServiceProvider |
||||||
| 10 | { |
||||||
| 11 | /** |
||||||
| 12 | * Bootstrap the application services. |
||||||
| 13 | * |
||||||
| 14 | * @return void |
||||||
| 15 | */ |
||||||
| 16 | public function boot() |
||||||
| 17 | { |
||||||
| 18 | $this->publishes( |
||||||
|
0 ignored issues
–
show
|
|||||||
| 19 | [ |
||||||
| 20 | __DIR__ . '/../../config/smokescreen.php' => config_path('smokescreen.php'), |
||||||
| 21 | ], |
||||||
| 22 | 'config' |
||||||
| 23 | ); |
||||||
| 24 | |||||||
| 25 | $this->publishes( |
||||||
| 26 | [ |
||||||
| 27 | __DIR__ . '/../../stubs' => resource_path('views/vendor/smokescreen'), |
||||||
| 28 | ], |
||||||
| 29 | 'stub' |
||||||
| 30 | ); |
||||||
| 31 | |||||||
| 32 | $this->loadViewsFrom(__DIR__ . '/../../stubs', 'smokescreen'); |
||||||
|
0 ignored issues
–
show
The method
loadViewsFrom() does not exist on Rexlabs\Laravel\Smokescr...oviders\ServiceProvider.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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...
|
|||||||
| 33 | |||||||
| 34 | $this->commands(MakeTransformerCommand::class); |
||||||
|
0 ignored issues
–
show
The method
commands() does not exist on Rexlabs\Laravel\Smokescr...oviders\ServiceProvider.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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...
|
|||||||
| 35 | } |
||||||
| 36 | |||||||
| 37 | /** |
||||||
| 38 | * Register the application services. |
||||||
| 39 | * |
||||||
| 40 | * @return void |
||||||
| 41 | */ |
||||||
| 42 | public function register() |
||||||
| 43 | { |
||||||
| 44 | $this->app->singleton( |
||||||
|
0 ignored issues
–
show
The method
singleton() does not exist on Tests\Laravel\App.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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...
|
|||||||
| 45 | Smokescreen::class, |
||||||
| 46 | function () { |
||||||
| 47 | return new Smokescreen(new \Rexlabs\Smokescreen\Smokescreen(), config('smokescreen', [])); |
||||||
| 48 | } |
||||||
| 49 | ); |
||||||
| 50 | $this->app->alias(Smokescreen::class, 'smokescreen'); |
||||||
|
0 ignored issues
–
show
The method
alias() does not exist on Tests\Laravel\App.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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...
|
|||||||
| 51 | |||||||
| 52 | $this->mergeConfigFrom( |
||||||
|
0 ignored issues
–
show
The method
mergeConfigFrom() does not exist on Rexlabs\Laravel\Smokescr...oviders\ServiceProvider.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
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...
|
|||||||
| 53 | __DIR__ . '/../../config/smokescreen.php', |
||||||
| 54 | 'smokescreen' |
||||||
| 55 | ); |
||||||
| 56 | } |
||||||
| 57 | } |
||||||
| 58 |
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.