| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Result implements ResultInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \Illuminate\Support\Collection |
||
| 19 | */ |
||
| 20 | protected $result; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Returns a number of affected rows. |
||
| 24 | * |
||
| 25 | * @return integer |
||
| 26 | */ |
||
| 27 | public function affected() |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Returns a result from a query instance. |
||
| 34 | * |
||
| 35 | * @param \Rougin\Windstorm\QueryInterface $query |
||
| 36 | * @return \Rougin\Windstorm\ResultInterface |
||
| 37 | */ |
||
| 38 | public function execute(QueryInterface $query) |
||
| 39 | { |
||
| 40 | $this->result = $query->instance()->get(); |
||
| 41 | |||
| 42 | return $this; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Returns the first row from result. |
||
| 47 | * |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function first() |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Returns the first row from result. |
||
| 57 | * |
||
| 58 | * @return mixed |
||
| 59 | */ |
||
| 60 | public function items() |
||
| 63 | } |
||
| 64 | } |
||
| 65 |
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