| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function register(DiInterface $container) |
||
| 15 | { |
||
| 16 | $config = $container->getShared('config'); |
||
| 17 | |||
| 18 | $container->setShared( |
||
| 19 | 'pusher', |
||
| 20 | function () use ($config) { |
||
| 21 | return new Pusher( |
||
| 22 | $config->pusher->key, |
||
| 23 | $config->pusher->secret, |
||
| 24 | $config->pusher->id, |
||
| 25 | [ |
||
| 26 | 'cluster' => $config->pusher->cluster, |
||
| 27 | 'useTLS' => true, |
||
| 28 | 'debug' => true, |
||
| 29 | ] |
||
| 35 |
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