1 | <?php |
||
2 | |||
3 | namespace App\Providers; |
||
4 | |||
5 | use App\Repositories\Contact\ContactInterface; |
||
0 ignored issues
–
show
|
|||
6 | use App\Repositories\Contact\ContactRepository; |
||
0 ignored issues
–
show
The type
App\Repositories\Contact\ContactRepository 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
7 | use App\Repositories\Setting\SettingInterface; |
||
0 ignored issues
–
show
The type
App\Repositories\Setting\SettingInterface 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | use App\Repositories\Setting\SettingRepository; |
||
0 ignored issues
–
show
The type
App\Repositories\Setting\SettingRepository 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
9 | use Illuminate\Support\Facades\URL; |
||
10 | use Illuminate\Support\ServiceProvider; |
||
11 | |||
12 | class AppServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /** |
||
15 | * Register any application services. |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | public function register() |
||
20 | { |
||
21 | $this->app->singleton(ContactInterface::class, ContactRepository::class); |
||
22 | $this->app->singleton(SettingInterface::class, SettingRepository::class); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Bootstrap any application services. |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function boot() |
||
31 | { |
||
32 | if(config('app.env') === 'production') { |
||
33 | URL::forceScheme('https'); |
||
34 | } |
||
35 | } |
||
36 | } |
||
37 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths