Add the ZGW version we are trying to support to the README #124
Annotations
1 error and 11 warnings
Run phpmd
Process completed with exit code 2.
|
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/
|
Run phpmd:
src/DependencyInjection/ZGWExtension.php#L14
Avoid unused parameters such as '$configs'.
|
Run phpmd:
src/Service/DRCService.php#L16
The class DRCService has an overall complexity of 87 which is very high. The configured complexity threshold is 50.
|
Run phpmd:
src/Service/DRCService.php#L66
The method checkForLockErrors() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
Run phpmd:
src/Service/DRCService.php#L102
Avoid unused parameters such as '$configuration'.
|
Run phpmd:
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.
|
Run phpmd:
src/Service/DRCService.php#L166
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'checkGebruiksrechtInfoObject'.
|
Run phpmd:
src/Service/DRCService.php#L167
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'checkGebruiksrechtInfoObject'.
|
Run phpmd:
src/Service/DRCService.php#L184
Avoid unused private methods such as 'checkInformatieObject'.
|
Run phpmd:
src/Service/DRCService.php#L203
Avoid unused parameters such as '$configuration'.
|
Run phpmd:
src/Service/DRCService.php#L219
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'gebruiksrechtHandler'.
|
Loading