| Conditions | 3 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 36 | public function starting(Application $app) : void |
||
| 37 | { |
||
| 38 | /** |
||
| 39 | * @var Observer $platform |
||
| 40 | */ |
||
| 41 | |||
| 42 | $platform = DI::get(Observer::class); |
||
| 43 | |||
| 44 | $platform->transportable(static function () { |
||
| 45 | Server::layers()->has(TracedOutgoing::class) |
||
| 46 | || Server::layers()->prepend(ServerWrapper::class, DI::object(TracedOutgoing::class)); |
||
| 47 | Server::layers()->has(TracedIncoming::class) |
||
| 48 | || Server::layers()->append(ServerWrapper::class, DI::object(TracedIncoming::class)); |
||
| 49 | }, static function () { |
||
| 50 | Server::layers()->remove(TracedOutgoing::class); |
||
| 51 | Server::layers()->remove(TracedIncoming::class); |
||
| 52 | }); |
||
| 55 |
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