Kalkulus1 /
thetellara
| 1 | <?php |
||||
| 2 | |||||
| 3 | /* |
||||
| 4 | * This file is part of Thetellara package. |
||||
| 5 | * |
||||
| 6 | * (c) Mumuni Mohammed <[email protected]> |
||||
| 7 | * |
||||
| 8 | * For the full copyright and license information, please view the LICENSE |
||||
| 9 | * file that was distributed with this source code. |
||||
| 10 | */ |
||||
| 11 | |||||
| 12 | namespace Kalkulus\Thetellara; |
||||
| 13 | |||||
| 14 | use Illuminate\Support\ServiceProvider; |
||||
|
0 ignored issues
–
show
|
|||||
| 15 | |||||
| 16 | class ThetellaraServiceProvider extends ServiceProvider |
||||
| 17 | { |
||||
| 18 | /* |
||||
| 19 | * Indicates if loading of the provider is deferred. |
||||
| 20 | * |
||||
| 21 | * @var bool |
||||
| 22 | */ |
||||
| 23 | protected $defer = false; |
||||
| 24 | |||||
| 25 | /** |
||||
| 26 | * Publishes all the config file this package needs to function |
||||
| 27 | */ |
||||
| 28 | public function boot() |
||||
| 29 | { |
||||
| 30 | $config = realpath(__DIR__.'/../resources/config/theteller.php'); |
||||
| 31 | |||||
| 32 | $this->publishes([ |
||||
| 33 | $config => config_path('theteller.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
Loading history...
|
|||||
| 34 | ]); |
||||
| 35 | } |
||||
| 36 | |||||
| 37 | /** |
||||
| 38 | * Register the application services. |
||||
| 39 | */ |
||||
| 40 | public function register() |
||||
| 41 | { |
||||
| 42 | $this->app->bind('thetellara', function () { |
||||
| 43 | |||||
| 44 | return new Thetellara; |
||||
| 45 | |||||
| 46 | }); |
||||
| 47 | } |
||||
| 48 | |||||
| 49 | /** |
||||
| 50 | * Get the services provided by the provider |
||||
| 51 | * @return array |
||||
| 52 | */ |
||||
| 53 | public function provides() |
||||
| 54 | { |
||||
| 55 | return ['thetellara']; |
||||
| 56 | } |
||||
| 57 | } |
||||
| 58 |
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