| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function addData(array $result): array |
||
| 19 | { |
||
| 20 | if ($result['tableName'] !== 'tx_sfeventmgt_domain_model_event') { |
||
| 21 | return $result; |
||
| 22 | } |
||
| 23 | |||
| 24 | if ($result['command'] === 'new') { |
||
| 25 | $result['databaseRow']['startdate'] = $GLOBALS['EXEC_TIME']; |
||
| 26 | $result['databaseRow']['enddate'] = $GLOBALS['EXEC_TIME'] + 3600; |
||
| 27 | } |
||
| 28 | |||
| 29 | return $result; |
||
| 30 | } |
||
| 32 |
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