Skip to content

Qodana

Qodana #65

Triggered via schedule January 23, 2024 01:29
Status Failure
Total duration 3m 21s
Artifacts

qodana.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1 error, 33 warnings, and 27 notices
qodana
The number of problems exceeds the failThreshold
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L135
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L150
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L123
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L194
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L148
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L170
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L117
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L94
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/PathService.php#L48
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L123
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L150
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L170
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L218
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L150
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L57
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L96
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L165
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L194
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L80
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L90
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L80
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L69
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/DataObject/FieldDefinitionService.php#L16
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L94
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/DataObject/FieldDefinitionService.php#L16
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L90
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L210
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L135
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L69
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L94
Line is longer than allowed by code style (\> 120 columns)
Missing return type declaration: src/Service/SearchIndex/OpenSearch/PathService.php#L27
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueue/EnqueueService.php#L111
Missing function's return type declaration
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, JetBrains/qodana-action@latest. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Class overrides a field of a parent class: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LocalizedFieldsAdapter.php#L27
\[EA\] Field 'fieldDefinition' is already defined in \\Pimcore\\Bundle\\GenericDataIndexBundle\\Service\\SearchIndex\\DataObject\\FieldDefinitionAdapter\\AbstractAdapter, check our online documentation for options.
JSON encoding API usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L51
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L159
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L164
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L145
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L172
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/OpenSearch/BulkOperationService.php#L54
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
Long inheritance chain: src/Repository/IndexQueueRepository.php#L27
\[EA\] Class has 3 parent classes, consider using appropriate design patterns.
Constant name is not following coding convention: src/Service/SearchIndex/SearchIndexConfigService.php#L26
Constant name `SYSTEM_FIELDS_SETTINGS_DATA_OBJECT` is too long (34 \> 32)
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L227
PHPDoc comment doesn't contain all the necessary @throws tags
Case mismatch in method call or class usage: src/Service/Normalizer/AssetNormalizer.php#L79
Case in function/method call doesn't match the case in declaration
Redundant catch clause: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L52
Exception 'Missing404Exception' is never thrown in the corresponding 'try' block
Redundant catch clause: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L65
Exception 'Missing404Exception' is never thrown in the corresponding 'try' block
Return type hint can be used: src/Service/SearchIndex/IndexQueue/EnqueueService.php#L111
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/OpenSearch/PathService.php#L27
\[EA\] ': void' can be declared as return type hint.
General exception is thrown: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L134
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.