| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class Context implements ContextInterface |
||
| 21 | { |
||
| 22 | /** @param T $protocol_interface */ |
||
| 23 | public function __construct( |
||
| 24 | private AmphpContext $amphp_context, |
||
| 25 | private object $protocol_interface |
||
| 26 | ) { |
||
| 27 | } |
||
| 28 | |||
| 29 | /** @return Promise<null> */ |
||
| 30 | public function start(): Promise |
||
| 33 | } |
||
| 34 | |||
| 35 | public function isRunning(): bool |
||
| 38 | } |
||
| 39 | |||
| 40 | /** @return T */ |
||
| 41 | public function getProtocol(): object |
||
| 46 |
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