| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | trait ServiceLocatorAccess { |
||
| 18 | /** |
||
| 19 | * @var ServiceLocator|\yii\base\Application |
||
| 20 | */ |
||
| 21 | protected $_serviceLocator; |
||
| 22 | |||
| 23 | public function getServiceLocator() { |
||
| 29 | } |
||
| 30 | |||
| 31 | public function setServiceLocator(ServiceLocator $locator) { |
||
| 32 | $this->_serviceLocator = $locator; |
||
| 33 | } |
||
| 34 | |||
| 35 | protected function initServiceLocator() { |
||
| 37 | } |
||
| 38 | } |
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