Skip to content

Add translator service test #104

Add translator service test

Add translator service test #104

Triggered via push March 4, 2024 09:32
Status Failure
Total duration 6m 2s
Billable time 6m
Artifacts

qodana.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 11 notices
qodana
The number of problems exceeds the failThreshold
Null reference: src/State/ResetPasswordProcessor.php#L62
\[EA\] Null pointer exception may occur here.
qodana
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/.
Efferent coupling between objects: src/State/ResetPasswordProcessor.php#L35
\[EA\] High efferent coupling (20).
Class can be 'readonly': src/Dto/Dependency.php#L16
Class can be 'readonly'
Class can be 'readonly': src/Dto/Property.php#L16
Class can be 'readonly'
Class can be 'readonly': src/Dto/Asset/MetaData.php#L16
Class can be 'readonly'
Class can be 'readonly': src/Dto/Task.php#L16
Class can be 'readonly'
Class can be 'readonly': src/Dto/Version.php#L19
Class can be 'readonly'
Class can be 'readonly': src/Dto/User.php#L18
Class can be 'readonly'
Class can be 'readonly': src/Dto/Asset/Permissions.php#L16
Class can be 'readonly'
General exception is thrown: src/State/ResetPasswordProcessor.php#L86
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.