Skip to content

Extract OpenSearch client creation and access to separate services #45

Extract OpenSearch client creation and access to separate services

Extract OpenSearch client creation and access to separate services #45

Triggered via push January 17, 2024 15:42
Status Failure
Total duration 46s
Artifacts

codeception.yaml

on: push
Matrix: Codeception tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 49 warnings, and 26 notices
Codeception tests (8.1, lowest, false)
Process completed with exit code 1.
Codeception tests (8.2, highest, false)
The operation was canceled.
Codeception tests (8.1, lowest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Codeception tests (8.2, highest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L301
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#L117
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#L69
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L383
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#L87
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#L150
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L100
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/IndexQueueService.php#L100
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L241
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L276
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#L150
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#L89
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#L87
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/IndexQueueService.php#L141
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L301
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#L276
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#L375
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L117
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#L141
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L67
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/AbstractIndexService.php#L170
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/PathService.php#L38
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L251
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L119
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L119
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L114
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L89
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L251
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)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L114
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L241
Line is longer than allowed by code style (\> 120 columns)
Missing return type declaration: src/Service/SearchIndex/OpenSearch/PathService.php#L17
Missing function's return type declaration
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.
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#L392
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
Unused import: src/Service/SearchIndex/IndexService/AssetIndexService.php#L18
Import 'OpenSearch\\Namespaces\\IndicesNamespace' is never used
Return type hint can be used: src/Service/SearchIndex/OpenSearch/PathService.php#L17
\[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.