Skip to content

Add delete controller and service methods, update descriptions of pro… #825

Add delete controller and service methods, update descriptions of pro…

Add delete controller and service methods, update descriptions of pro… #825

Triggered via push May 22, 2024 08:09
Status Failure
Total duration 6m 17s
Artifacts

qodana.yml

on: push
qodana-check-workflow  /  Qodana
6m 8s
qodana-check-workflow / Qodana
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 51 notices
qodana-check-workflow / Qodana
The number of problems exceeds the failThreshold
Undefined class: src/Note/Service/NoteService.php#L23
Undefined class 'NoteElementInterface'
Undefined class: src/Note/Service/NoteService.php#L23
Undefined class 'NoteElementInterface'
Long inheritance chain: src/Note/Attributes/Request/CreateNoteRequestBody.php#L25
\[EA\] Class has 3 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Note/Attributes/Response/Property/NoteCollection.php#L26
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Class can be 'readonly': src/Note/Service/NoteService.php#L32
Class can be 'readonly'
Unused import: src/Note/Request/NoteParameters.php#L20
Import 'Pimcore\\Bundle\\StudioBackendBundle\\Util\\Constants\\ElementTypes' is never used
Long inheritance chain: src/Note/Attributes/Request/CreateNoteRequestBody.php#L25
\[EA\] Class has 3 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Version/Attributes/Response/Property/VersionCollection.php#L26
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Dependency/Attributes/Parameters/Query/DependencyModeParameter.php#L25
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Version/Attributes/Response/Content/OneOfVersionJson.php#L26
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Property/Attributes/Request/PredefinedPropertyRequestBody.php#L25
\[EA\] Class has 3 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Note/Attributes/Response/Property/NoteCollection.php#L26
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Dependency/Attributes/Response/Property/DependencyCollection.php#L27
\[EA\] Class has 4 parent classes, consider using appropriate design patterns.
Long inheritance chain: src/Property/Attributes/Request/ElementPropertyRequestBody.php#L25
\[EA\] Class has 3 parent classes, consider using appropriate design patterns.
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L52
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L48
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L39
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L46
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Request/CollectionParameters.php#L33
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Request/CollectionParameters.php#L32
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L45
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L34
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L54
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L44
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L42
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Request/CollectionParameters.php#L30
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L36
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L43
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Asset/Schema/Asset.php#L41
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Request/CollectionParameters.php#L29
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L40
Attribute can be added to overriding parameter
Attribute can be added to overriding member : src/Response/Element.php#L38
Attribute can be added to overriding parameter
Class can be 'readonly': src/Note/Service/NoteService.php#L32
Class can be 'readonly'
Unused import: src/Note/Request/NoteParameters.php#L20
Import 'Pimcore\\Bundle\\StudioBackendBundle\\Util\\Constants\\ElementTypes' is never used
Unused private method: src/Util/Traits/ElementProviderTrait.php#L51
Unused private method 'getLatestVersionForUser'