Action and code for syncing tasks to zaaksysteem #5
Annotations
1 error and 7 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/Service/KTBToXxllncService.php#L43
Avoid excessively long variable names like $oldSynchronizationService. Keep variable name length under 20.
|
Run phpmd:
src/Service/KTBToXxllncService.php#L44
Avoid excessively long variable names like $synchronizationService. Keep variable name length under 20.
|
Run phpmd:
src/Service/KTBToXxllncService.php#L71
Avoid using static access to class '\Ramsay\Uuid' in method 'getZaakSourceId'.
|
Run phpmd:
src/Service/KTBToXxllncService.php#L99
The method synchronizeTaak() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
|
Run phpmd:
src/Service/KTBToXxllncService.php#L126
Avoid using static access to class '\Ramsay\Uuid' in method 'synchronizeTaak'.
|
Run phpmd:
src/Service/KTBToXxllncService.php#L169
The method synchronizeTaak uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
|
Loading