| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class ChannelFactory implements SingletonInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var ObjectManager |
||
| 29 | */ |
||
| 30 | protected $objectManager; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ObjectManager $objectManager |
||
| 34 | */ |
||
| 35 | public function __construct(ObjectManager $objectManager) |
||
| 36 | { |
||
| 37 | $this->objectManager = $objectManager; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param ChannelDefinition $channelDefinition |
||
| 42 | * @return Channel |
||
| 43 | */ |
||
| 44 | public function create(ChannelDefinition $channelDefinition): Channel |
||
| 52 | } |
||
| 53 | } |
||
| 54 |
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