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