Skip to content

Improve constructors #15

Improve constructors

Improve constructors #15

Triggered via push January 15, 2024 09:21
Status Failure
Total duration 56s
Artifacts 1
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 176 warnings, and 185 notices
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true): src/DependencyInjection/Configuration.php#L38
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode().
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, highest, false): src/DependencyInjection/Configuration.php#L38
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode().
Static Analysis with PHPStan (8.2, highest, false)
The operation was canceled.
Static Analysis with PHPStan (8.1, lowest, false): src/DependencyInjection/Configuration.php#L38
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode().
Static Analysis with PHPStan (8.1, lowest, false)
The operation was canceled.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (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/
Static Analysis with PHPStan (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/
Alias functions usage: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L37
\[EA\] 'sizeof(...)' is an alias function, consider using 'count(...)' instead.
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L45
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L111
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L271
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L289
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L271
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L176
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L165
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L94
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L176
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L143
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L47
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L275
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L265
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L80
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L111
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L45
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L30
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L79
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L47
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L120
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L44
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L124
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L322
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L105
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/IndexService/AbstractIndexService.php#L122
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Enum/DependencyInjection/CompilerPassTag.php#L18
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L265
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L89
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L57
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L79
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L289
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L138
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/IndexService/DataObjectIndexService.php#L270
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#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#L92
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L274
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L120
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L124
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L29
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L46
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L79
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/IndexService/AssetIndexService.php#L102
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L287
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L105
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L103
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L138
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L88
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L67
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L67
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L89
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L172
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L105
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L163
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L163
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L57
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L109
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L88
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#L92
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L46
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L29
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L44
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L275
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Command/Update/IndexUpdateCommand.php#L80
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L164
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L55
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L270
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L282
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L322
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Enum/DependencyInjection/CompilerPassTag.php#L18
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L282
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L94
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AssetIndexService.php#L102
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L274
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L109
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/IndexService/AssetIndexService.php#L164
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L165
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L143
Line is longer than allowed by code style (\> 120 columns)
Class path doesn't match project structure: src/Enum/SearchIndex/OpenSearch/AttributeType.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/OpenSearch/BulkOperationService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/PimcoreGenericDataIndexBundle.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Entity/IndexQueue.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/TimeService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/Workflow/WorkflowService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/TextAdapter.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Enum/SearchIndex/ElementType.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Traits/LoggerAwareTrait.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Enum/SearchIndex/FieldCategory/SystemField.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/LanguageService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexUpdateService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Command/Update/IndexUpdateCommand.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Message/IndexUpdateQueueMessage.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/DataObject/FieldDefinitionService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexQueueService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Controller/DefaultController.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Enum/SearchIndex/IndexQueueOperation.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Enum/SearchIndex/FieldCategory.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Enum/DependencyInjection/CompilerPassTag.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/DateAdapter.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexService/AssetIndexService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/Messenger/Middleware/CollectGarbageMiddleware.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/MessageHandler/IndexUpdateQueueHandler.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/IndexServiceInterface.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/SearchIndex/SearchIndexConfigService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Class path doesn't match project structure: src/Service/DataObject/SelectOptionsService.php#L14
Namespace name doesn't match the PSR-0/PSR-4 project structure
Missing return type declaration: src/MessageHandler/IndexUpdateQueueHandler.php#L31
Missing function's return type declaration
Missing return type declaration: src/Command/Update/IndexUpdateCommand.php#L58
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L384
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L308
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L440
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L456
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexUpdateService.php#L49
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L413
Missing function's return type declaration
Missing return type declaration: src/PimcoreGenericDataIndexBundle.php#L31
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L562
Missing function's return type declaration
Missing return type declaration: src/Command/Update/IndexUpdateCommand.php#L40
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexUpdateService.php#L36
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/SearchIndexConfigService.php#L58
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L245
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L355
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L334
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexUpdateService.php#L63
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/SearchIndexConfigService.php#L66
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L262
Missing function's return type declaration
Missing return type declaration: src/Traits/LoggerAwareTrait.php#L24
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L423
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L494
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L225
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L320
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L471
Missing function's return type declaration
Static methods invocation via '->': src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L53
\[EA\] '...::parseFile(...)' should be used instead.
Access modifiers shall be defined: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L26
\[EA\] 'INDEX_VERION_EVEN' should be declared with access modifier.
Access modifiers shall be defined: src/Command/Update/IndexUpdateCommand.php#L30
\[EA\] 'OPTION_CLASS_DEFINITION_ID' should be declared with access modifier.
Access modifiers shall be defined: src/Entity/IndexQueue.php#L24
\[EA\] 'TABLE' should be declared with access modifier.
Access modifiers shall be defined: src/Service/SearchIndex/IndexService/AssetIndexService.php#L23
\[EA\] 'NOT_LOCALIZED_KEY' should be declared with access modifier.
Access modifiers shall be defined: src/Command/Update/IndexUpdateCommand.php#L34
\[EA\] 'OPTION_RECREATE_INDEX' should be declared with access modifier.
Access modifiers shall be defined: src/Command/Update/IndexUpdateCommand.php#L32
\[EA\] 'OPTION_UPDATE_ASSET_INDEX' should be declared with access modifier.
Access modifiers shall be defined: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L24
\[EA\] 'INDEX_VERION_ODD' should be declared with access modifier.
Class overrides a field of a parent class: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/SelectAdapter.php#L26
\[EA\] Field 'fieldDefinition' is already defined in \\Pimcore\\Bundle\\GenericDataIndexBundle\\Service\\SearchIndex\\DataObject\\FieldDefinitionAdapter\\DefaultAdapter, check our online documentation for options.
Class overrides a field of a parent class: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/MultiSelectAdapter.php#L26
\[EA\] Field 'fieldDefinition' is already defined in \\Pimcore\\Bundle\\GenericDataIndexBundle\\Service\\SearchIndex\\DataObject\\FieldDefinitionAdapter\\DefaultAdapter, check our online documentation for options.
Class overrides a field of a parent class: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LocalizedFieldsAdapter.php#L28
\[EA\] Field 'fieldDefinition' is already defined in \\Pimcore\\Bundle\\GenericDataIndexBundle\\Service\\SearchIndex\\DataObject\\FieldDefinitionAdapter\\DefaultAdapter, check our online documentation for options.
Yoda/regular conditions style usage: src/Service/SearchIndex/IndexQueueService.php#L365
\[EA\] Regular conditions style should be used instead.
Yoda/regular conditions style usage: src/Service/SearchIndex/IndexQueueService.php#L362
\[EA\] Regular conditions style should be used instead.
'null === ...' can be used: src/Service/DataObject/SelectOptionsService.php#L20
\[EA\] '$value === null' construction should be used instead.
'isset(...)' constructs can be merged: src/Service/SearchIndex/IndexService/AssetIndexService.php#L186
\[EA\] This can be merged into the previous 'isset(..., ...\[, ...\])'.
JSON encoding API usage: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L162
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/DefaultAdapter.php#L86
\[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#L165
\[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#L53
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/IndexService/AssetIndexService.php#L123
\[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#L56
\[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#L194
\[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#L236
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
JSON encoding API usage: src/Service/SearchIndex/IndexService/AssetIndexService.php#L144
\[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#L217
\[EA\] Please consider taking advantage of JSON_THROW_ON_ERROR flag for this call options.
Non-null parameters default value: src/Service/SearchIndex/IndexService/AssetIndexService.php#L99
\[EA\] Null should be used as the default value (nullable types are the goal, right?)
Non-null parameters default value: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L131
\[EA\] Null should be used as the default value (nullable types are the goal, right?)
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L183
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L244
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L224
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L169
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L439
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L130
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L120
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L259
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L242
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L220
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L261
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/AssetIndexService.php#L94
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L167
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L185
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexService/AssetIndexService.php#L98
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L435
PHPDoc comment doesn't contain all the necessary @throws tags
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L135
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L477
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L517
Qualifier can be replaced with an import
Fully qualified name usage: src/Command/Update/IndexUpdateCommand.php#L54
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L166
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L469
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L113
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L507
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L105
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L81
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L35
Qualifier can be replaced with an import
Fully qualified name usage: src/Command/Update/IndexUpdateCommand.php#L99
Qualifier can be replaced with an import
Fully qualified name usage: src/Command/Update/IndexUpdateCommand.php#L85
Qualifier can be replaced with an import
Fully qualified name usage: src/PimcoreGenericDataIndexBundle.php#L28
Qualifier can be replaced with an import
Fully qualified name usage: src/Command/Update/IndexUpdateCommand.php#L77
Qualifier can be replaced with an import
Fully qualified name usage: src/Command/Update/IndexUpdateCommand.php#L61
Qualifier can be replaced with an import
Case mismatch in method call or class usage: src/Service/SearchIndex/IndexService/AssetIndexService.php#L171
Case in function/method call doesn't match the case in declaration
Case mismatch in method call or class usage: src/Service/SearchIndex/DataObject/FieldDefinitionService.php#L30
Case in function/method call doesn't match the case in declaration
Case mismatch in method call or class usage: src/Service/SearchIndex/DataObject/FieldDefinitionService.php#L31
Case in function/method call doesn't match the case in declaration
Missing visibility: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L24
PSR-12: Missing visibility definition
Missing visibility: src/Command/Update/IndexUpdateCommand.php#L32
PSR-12: Missing visibility definition
Missing visibility: src/Service/SearchIndex/IndexService/AssetIndexService.php#L23
PSR-12: Missing visibility definition
Missing visibility: src/Command/Update/IndexUpdateCommand.php#L34
PSR-12: Missing visibility definition
Missing visibility: src/Entity/IndexQueue.php#L24
PSR-12: Missing visibility definition
Missing visibility: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L26
PSR-12: Missing visibility definition
Missing visibility: src/Command/Update/IndexUpdateCommand.php#L30
PSR-12: Missing visibility definition
Redundant catch clause: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L57
Exception 'Missing404Exception' is never thrown in the corresponding 'try' block
Redundant catch clause: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L70
Exception 'Missing404Exception' is never thrown in the corresponding 'try' block
Redundant @var tag: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LocalizedFieldsAdapter.php#L76
@var tag specifies the type already inferred from source code
Redundant @var tag: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/DefaultAdapter.php#L94
@var tag specifies the type already inferred from source code
Redundant @var tag: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/LocalizedFieldsAdapter.php#L48
@var tag specifies the type already inferred from source code
Static method called as dynamic: src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L53
Static method 'parseFile' should not be called dynamically
'switch' can be replaced with 'match' expression: src/Service/SearchIndex/IndexQueueService.php#L511
'switch' statement can be converted to 'match' expression
'switch' can be replaced with 'match' expression: src/Service/SearchIndex/IndexQueueService.php#L496
'switch' statement can be converted to 'match' expression
'switch' can be replaced with 'match' expression: src/Service/SearchIndex/IndexQueueService.php#L526
'switch' statement can be converted to 'match' expression
Redundant cast to boolean: src/Service/SearchIndex/DataObject/FieldDefinitionAdapter/BooleanAdapter.php#L34
Unnecessary cast to '(bool)$this-\>doGetRawIndexDataValue($object)'
Unused local variable: src/Service/SearchIndex/IndexQueueService.php#L557
Unused local variable 'exception'. The value of the variable is not used anywhere.
Unused local variable: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L70
Unused local variable 'e'. The value of the variable is not used anywhere.
Unused local variable: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L57
Unused local variable 'e'. The value of the variable is not used anywhere.
Return type hint can be used: src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L61
\[EA\] ': PimcoreGenericDataIndexExtension' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L229
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L131
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexUpdateService.php#L63
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L308
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L456
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/DependencyInjection/PimcoreGenericDataIndexExtension.php#L47
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L71
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/SearchIndexConfigService.php#L58
\[EA\] ': array' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L225
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/AssetIndexService.php#L119
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexUpdateService.php#L36
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/AssetIndexService.php#L215
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L176
\[EA\] ': array' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L562
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Command/Update/IndexUpdateCommand.php#L58
\[EA\] ': int' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/PimcoreGenericDataIndexBundle.php#L31
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L245
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L210
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L334
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L78
\[EA\] ': array' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L384
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexUpdateService.php#L49
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L248
\[EA\] ': bool' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L471
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L251
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L115
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L51
\[EA\] ': OpenSearchService' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L320
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/DataObjectIndexService.php#L293
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/DependencyInjection/Compiler/SearchIndexFieldDefinitionPass.php#L26
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L164
\[EA\] ': array' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L440
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Traits/LoggerAwareTrait.php#L24
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexService/AssetIndexService.php#L99
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/SearchIndexConfigService.php#L66
\[EA\] ': array' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L262
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Command/Update/IndexUpdateCommand.php#L40
\[EA\] ': void' can be declared as return type hint (please use change signature intention to fix this).
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L355
\[EA\] ': self' can be declared as return type hint.
Static closure can be used: src/Service/SearchIndex/IndexService/AbstractIndexService.php#L181
\[EA\] This closure can be declared as static (better scoping; in some cases can improve performance).
General exception is thrown: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L135
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Service/SearchIndex/OpenSearch/BulkOperationService.php#L53
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Command/Update/IndexUpdateCommand.php#L77
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Service/SearchIndex/IndexQueueService.php#L432
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Command/Update/IndexUpdateCommand.php#L61
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Service/SearchIndex/IndexQueueService.php#L532
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Service/SearchIndex/IndexQueueService.php#L502
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
'in_array(...)', 'array_search(...)' type unsafe usage: src/Service/SearchIndex/IndexQueueService.php#L473
\[EA\] Third parameter should be provided to clarify if type safety is important in this context.
Type casting can be used: src/Service/SearchIndex/IndexQueueService.php#L138
\[EA\] '(int) $limit' can be used instead (reduces cognitive load, up to 6x times faster in PHP 5.x).
Type casting can be used: src/Service/SearchIndex/IndexQueueService.php#L141
\[EA\] '(int) $limit' can be used instead (reduces cognitive load, up to 6x times faster in PHP 5.x).
Type casting can be used: src/Service/SearchIndex/IndexQueueService.php#L143
\[EA\] '(int) $limit' can be used instead (reduces cognitive load, up to 6x times faster in PHP 5.x).

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
243 Bytes