| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class CustomerMap implements \Magento\Framework\Option\ArrayInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var objectManager |
||
| 21 | */ |
||
| 22 | protected $objectManager; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var customer |
||
| 26 | */ |
||
| 27 | protected $customer; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param ObjectManagerInterface $objectManager |
||
| 31 | */ |
||
| 32 | public function __construct( |
||
| 33 | ObjectManagerInterface $objectManager, |
||
| 34 | Customer $customer |
||
| 35 | ) { |
||
| 36 | $this->objectManager = $objectManager; |
||
| 37 | $this->customer = $customer; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Returns Options. |
||
| 42 | * |
||
| 43 | * @return array | attributesArrays |
||
| 44 | */ |
||
| 45 | public function toOptionArray() |
||
| 61 | } |
||
| 62 | } |
||
| 63 |
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