Skip to content

Add Token Voter

Add Token Voter #130

Triggered via push March 4, 2024 17:43
Status Failure
Total duration 5m 17s
Billable time 6m
Artifacts

qodana.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 102 warnings, and 8 notices
Parameter type: src/Service/GenericData/V1/AssetSearchAdapter.php#L38
Parameter '$item' type is not compatible with declaration
Parameter type: src/Service/GenericData/V1/AssetSearchAdapter.php#L56
Parameter '$searchResult' type is not compatible with declaration
qodana
The number of problems exceeds the failThreshold
Null reference: src/State/ResetPasswordProcessor.php#L65
\[EA\] Null pointer exception may occur here.
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php#L24
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L54
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L58
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydrator.php#L33
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php#L19
Undefined class 'AssetSearchResultItem'
Undefined class: src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php#L19
Undefined class 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L64
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L63
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L61
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorInterface.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L66
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/TextHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L62
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/ImageHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/VideoHydratorInterface.php#L24
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/AudioHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L67
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/UnknownHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/DocumentHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/VideoHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/TextHydratorInterface.php#L24
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L68
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L19
Undefined namespace 'AssetSearchResult'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/ImageHydratorInterface.php#L24
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/AudioHydratorInterface.php#L24
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/FolderHydratorInterface.php#L24
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/AssetHydratorService.php#L65
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/FolderHydrator.php#L33
Undefined namespace 'AssetSearchResultItem'
Undefined namespace: src/Service/GenericData/V1/Hydrator/Asset/MetaDataHydrator.php#L19
Undefined namespace 'AssetSearchResult'
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#L38
\[EA\] High efferent coupling (20).
Class can be 'readonly': src/Dto/Asset/MetaData.php#L19
Class can be 'readonly'
Class can be 'readonly': src/Dto/Asset/Permissions.php#L19
Class can be 'readonly'
General exception is thrown: src/State/ResetPasswordProcessor.php#L89
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.