| Conditions | 3 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function _toHtml() |
||
| 36 | { |
||
| 37 | $isEnable = $this->_scopeConfig->isSetFlag( |
||
| 38 | DefaultConfig::CONFIG_PATH_IS_ENABLE, |
||
| 39 | ScopeInterface::SCOPE_STORE |
||
| 40 | ); |
||
| 41 | $isHeaderLinkEnable = $this->_scopeConfig->isSetFlag( |
||
| 42 | DefaultConfig::CONFIG_PATH_HEADER_LINK, |
||
| 43 | ScopeInterface::SCOPE_STORE |
||
| 44 | ); |
||
| 45 | if (!$isEnable || !$isHeaderLinkEnable) { |
||
| 46 | return ''; |
||
| 47 | } |
||
| 48 | return parent::_toHtml(); |
||
| 49 | } |
||
| 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