Merge pull request #14 from CommonGateway/fix/beheer-2406/no-attachme… #68
Annotations
1 error and 11 warnings
Run phpmd
Process completed with exit code 2.
|
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/.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L26
The class ZdsToZgwService has 15 public methods. Consider refactoring ZdsToZgwService to keep number of public methods under 10.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L26
The class ZdsToZgwService has an overall complexity of 112 which is very high. The configured complexity threshold is 50.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L26
The class ZdsToZgwService has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L47
Avoid unused private fields such as '$pluginLogger'.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L364
The method zaakActionHandler() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L466
The method getZaaktypeObject() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L472
Avoid using static access to class '\Ramsey\Uuid\Uuid' in method 'getZaaktypeObject'.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L507
The method convertInformatieobjecttype() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L526
Avoid excessively long variable names like $informatieobjecttypen. Keep variable name length under 20.
|
Run phpmd:
src/Service/ZdsToZgwService.php#L568
The method getCaseFromDocument() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
Loading