We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function render() |
||
| 10 | { |
||
| 11 | // Custom TCA properties and other data can be found in $this->data, for example the above |
||
| 12 | // parameters are available in $this->data['parameterArray']['fieldConf']['config']['parameters'] |
||
| 13 | $result = $this->initializeResultArray(); |
||
| 14 | if (!empty($this->data['databaseRow']['thumbnail'])) { |
||
| 15 | $result['html'] = '<img alt="Thumbnail" title="" src="' . $this->data['databaseRow']['thumbnail'] . '" />'; |
||
| 16 | } else { |
||
| 17 | $result['html'] = ''; |
||
| 18 | } |
||
| 19 | return $result; |
||
| 20 | } |
||
| 21 | } |
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