| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function init(): void |
||
| 34 | { |
||
| 35 | $adapter = new SqlSource(); |
||
| 36 | $adapter->setSource('SELECT * FROM contact_us'); |
||
| 37 | |||
| 38 | $this->setAdapter($adapter); |
||
| 39 | $this->setDefaultLimit(self::DEFAULT_LIMIT); |
||
| 40 | $this->setAllowOrders(['id', 'name', 'email', 'subject', 'markRead', 'markAnswered', 'created', 'updated']); |
||
| 41 | $this->setAllowFilters(['name', 'email', 'subject', 'message', 'markRead', 'markAnswered']); |
||
| 42 | $this->addAlias('markAnswered', 'answered'); |
||
| 43 | $this->addAlias('markRead', 'readed'); |
||
| 44 | } |
||
| 46 |
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