qodana fixes #122
Annotations
1 error, 2 warnings, and 6 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).
|
Efferent coupling between objects:
src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L35
\[EA\] High efferent coupling (28).
|
Class can be 'readonly':
src/Dto/Asset/MetaData.php#L16
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.
|