| Conditions | 5 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function postProcess() |
||
| 29 | { |
||
| 30 | if (!$this->authorize()) { |
||
| 31 | return; |
||
| 32 | }; |
||
| 33 | |||
| 34 | $sql = 'SELECT * FROM '._DB_PREFIX_.'pagantis_log ORDER BY id desc LIMIT 200'; |
||
| 35 | if ($results = Db::getInstance()->ExecuteS($sql)) { |
||
| 36 | foreach ($results as $row) { |
||
| 37 | $this->message[] = (is_null(json_decode($row['log']))) ? $row['log'] : json_decode($row['log']); |
||
| 38 | } |
||
| 39 | } |
||
| 40 | $this->jsonResponse(); |
||
| 41 | } |
||
| 75 |
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