1 | <?php |
||||
2 | |||||
3 | namespace HopekellDev\Confirmident; |
||||
4 | |||||
5 | use Illuminate\Support\ServiceProvider; |
||||
0 ignored issues
–
show
|
|||||
6 | |||||
7 | /** |
||||
8 | * Confirmident's Identity Verification laravel package |
||||
9 | * @author Hope Ezenwa- Hopekell <[email protected]> |
||||
10 | * @version 1 |
||||
11 | **/ |
||||
12 | |||||
13 | class ConfirmidentServiceProvider extends ServiceProvider |
||||
14 | { |
||||
15 | public function boot() |
||||
16 | { |
||||
17 | $this->publishes([ |
||||
18 | __DIR__.'/../config/confirmident.php' => config_path('confirmident.php'), |
||||
0 ignored issues
–
show
The function
config_path was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
19 | ], 'config'); |
||||
20 | } |
||||
21 | |||||
22 | public function register() |
||||
23 | { |
||||
24 | $this->mergeConfigFrom( |
||||
25 | __DIR__.'/../config/confirmident.php', 'confirmident' |
||||
26 | ); |
||||
27 | |||||
28 | $this->app->singleton('confirmident', function () { |
||||
29 | return new Confirmident(); |
||||
30 | }); |
||||
31 | } |
||||
32 | } |
||||
33 |
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