| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class mapper_factory implements mapper_factory_interface |
||
| 15 | { |
||
| 16 | /** @var \phpbb\db\driver\driver_interface */ |
||
| 17 | protected $db; |
||
| 18 | |||
| 19 | /** @var array */ |
||
| 20 | protected $mapper_tables; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor |
||
| 24 | * |
||
| 25 | * @param \phpbb\db\driver\driver_interface $db Database object |
||
| 26 | * @param array $tables Tables for data mapping |
||
| 27 | */ |
||
| 28 | 29 | public function __construct(\phpbb\db\driver\driver_interface $db, array $tables) |
|
| 29 | { |
||
| 30 | 29 | $this->db = $db; |
|
| 31 | 29 | $this->mapper_tables = array_shift($tables); |
|
| 32 | 29 | } |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 24 | public function create($type) |
|
| 43 | } |
||
| 44 | } |
||
| 45 |
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