Skip to content

Update product-page-deploy.yml #117

Update product-page-deploy.yml

Update product-page-deploy.yml #117

Triggered via push May 22, 2024 14:51
Status Failure
Total duration 31s
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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'.