| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class DomainService |
||
| 12 | { |
||
| 13 | private $request; |
||
| 14 | public function __construct( |
||
| 15 | private EntityManagerInterface $manager, |
||
| 16 | RequestStack $requestStack |
||
| 17 | ) { |
||
| 18 | $this->request = $requestStack->getCurrentRequest(); |
||
| 19 | } |
||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function getDomain() |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getMainDomain() |
||
| 51 |
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