| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ServiceProvider extends BaseServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Register the service provider. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | 38 | public function register() |
|
| 17 | { |
||
| 18 | 38 | $this->app->bind( |
|
| 19 | \GraphQL\Executor\Promise\PromiseAdapter::class, |
||
| 20 | \GraphQL\Executor\Promise\Adapter\AmpPromiseAdapter::class |
||
| 21 | ); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Boot the service provider. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | 38 | public function boot() |
|
| 30 | { |
||
| 31 | 38 | $this->setupConfig($this->app); |
|
| 32 | } |
||
| 33 | |||
| 34 | 38 | private function setupConfig($app) |
|
| 45 | } |
||
| 46 | } |
||
| 47 |
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