| Conditions | 3 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function addData(array $result): array |
||
| 24 | { |
||
| 25 | if ($result['tableName'] !== 'tx_sfeventmgt_domain_model_event' || empty($result['databaseRow'])) { |
||
| 26 | return $result; |
||
| 27 | } |
||
| 28 | |||
| 29 | $eventPlausabilityService = GeneralUtility::makeInstance(EventPlausabilityService::class); |
||
| 30 | $eventPlausabilityService->verifyEventStartAndEnddate( |
||
| 31 | (int)$result['databaseRow']['startdate'], |
||
| 32 | (int)$result['databaseRow']['enddate'] |
||
| 33 | ); |
||
| 34 | $eventPlausabilityService->verifyOrganisatorConfiguration($result['databaseRow']); |
||
| 35 | |||
| 36 | return $result; |
||
| 37 | } |
||
| 39 |
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