Skip to content

Use correct 1.4 version requirement for CoreBundle #187

Use correct 1.4 version requirement for CoreBundle

Use correct 1.4 version requirement for CoreBundle #187

Triggered via push September 30, 2024 13:46
Status Failure
Total duration 19s
Artifacts

phpmd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 2.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/DependencyInjection/OpenIndexExtension.php#L20
Avoid unused parameters such as '$configs'.
build: src/Service/FileService.php#L68
Avoid unused private fields such as '$configuration'.
build: src/Service/FileService.php#L156
The method createOrUpdateFile uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
build: src/Service/FileService.php#L188
Avoid variables with short names like $id. Configured minimum length is 3.
build: src/Service/FileService.php#L216
The method getTextFromDocument uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
build: src/Service/FileService.php#L254
Avoid unused local variables such as '$parameters'.
build: src/Service/FileService.php#L273
The method viewFileHandler uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
build: src/Service/SyncTilburgCasesService.php#L37
The class SyncTilburgCasesService has a coupling between objects value of 20. Consider to reduce the number of dependencies under 13.
build: src/Service/SyncTilburgCasesService.php#L130
The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10.
build: src/Service/SyncTilburgCasesService.php#L184
The method SyncTilburgCasesHandler() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.