Skip to content

Add the ZGW version we are trying to support to the README #124

Add the ZGW version we are trying to support to the README

Add the ZGW version we are trying to support to the README #124

Triggered via pull request September 2, 2024 15:00
Status Failure
Total duration 16s
Artifacts

phpmd.yml

on: pull_request
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/ZGWExtension.php#L14
Avoid unused parameters such as '$configs'.
build: src/Service/DRCService.php#L16
The class DRCService has an overall complexity of 87 which is very high. The configured complexity threshold is 50.
build: src/Service/DRCService.php#L66
The method checkForLockErrors() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
build: src/Service/DRCService.php#L102
Avoid unused parameters such as '$configuration'.
build: src/Service/DRCService.php#L138
The method drcLockHandler uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
build: src/Service/DRCService.php#L166
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'checkGebruiksrechtInfoObject'.
build: src/Service/DRCService.php#L167
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'checkGebruiksrechtInfoObject'.
build: src/Service/DRCService.php#L184
Avoid unused private methods such as 'checkInformatieObject'.
build: src/Service/DRCService.php#L203
Avoid unused parameters such as '$configuration'.
build: src/Service/DRCService.php#L219
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'gebruiksrechtHandler'.