Skip to content

Add strict_types.

Add strict_types. #11

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

Annotations

7 errors, 176 warnings, and 198 notices
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true): src/DependencyInjection/Configuration.php#L36
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true): src/Service/SearchIndex/IndexQueueService.php#L215
Call to an undefined method Symfony\Component\Serializer\SerializerInterface::denormalize().
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)
The operation was canceled.
Static Analysis with PHPStan (8.1, lowest, false)
The operation was canceled.
Insecure 'uniqid(...)' usage (Insufficient Entropy Vulnerability): src/Service/SearchIndex/IndexQueueService.php#L575
\[EA\] Please provide 'more_entropy' parameter in order to increase likelihood of uniqueness.
Insecure 'uniqid(...)' usage (Insufficient Entropy Vulnerability): src/Service/SearchIndex/IndexQueueService.php#L141
\[EA\] Please provide 'more_entropy' parameter in order to increase likelihood of uniqueness.
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/Service/SearchIndex/IndexQueueService.php#L577
\[EA\] 'sizeof(...)' is an alias function, consider using 'count(...)' instead.
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#L118
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#L287
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L320
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.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#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#L273
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/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#L118
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#L107
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#L146
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/IndexQueueService.php#L122
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/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/AbstractIndexService.php#L274
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/Command/Update/IndexUpdateCommand.php#L44
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/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#L122
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/AssetIndexService.php#L79
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/IndexQueueService.php#L299
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/IndexQueueService.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#L299
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/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#L146
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/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#L263
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/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/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/AssetIndexService.php#L172
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L320
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/IndexQueueService.php#L122
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/IndexQueueService.php#L170
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/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#L77
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L148
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/Service/SearchIndex/IndexQueueService.php#L273
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/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/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/IndexQueueService.php#L263
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/OpenSearch/OpenSearchService.php#L88
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#L143
Line is longer than allowed by code style (\> 120 columns)
Line is longer than allowed by code style: src/Service/SearchIndex/IndexQueueService.php#L77
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/IndexQueueService.php#L107
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/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#L164
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/IndexQueueService.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/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/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/Service/SearchIndex/SearchIndexConfigService.php#L66
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L454
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#L260
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L411
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L134
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L223
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#L306
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#L499
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L243
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#L49
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L353
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L469
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L332
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L567
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L382
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L421
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L438
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexQueueService.php#L318
Missing function's return type declaration
Missing return type declaration: src/MessageHandler/IndexUpdateQueueHandler.php#L34
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#L484
Missing function's return type declaration
Missing return type declaration: src/Service/SearchIndex/IndexUpdateService.php#L63
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/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/Entity/IndexQueue.php#L23
\[EA\] 'TABLE' 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#L363
\[EA\] Regular conditions style should be used instead.
Yoda/regular conditions style usage: src/Service/SearchIndex/IndexQueueService.php#L360
\[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/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/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/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/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/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/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#L240
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L188
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L433
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L190
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/IndexService/DataObjectIndexService.php#L130
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L218
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L437
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/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/IndexService/AssetIndexService.php#L94
PHPDoc comment doesn't contain all the necessary @throws tags
Missing @throws tag(s): src/Service/SearchIndex/IndexQueueService.php#L257
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#L222
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
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L512
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#L166
Qualifier can be replaced with an import
Fully qualified name usage: src/Service/SearchIndex/IndexQueueService.php#L475
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/Command/Update/IndexUpdateCommand.php#L54
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/Service/SearchIndex/IndexQueueService.php#L467
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/Service/SearchIndex/OpenSearch/OpenSearchService.php#L135
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/Service/SearchIndex/OpenSearch/OpenSearchService.php#L113
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/Service/SearchIndex/IndexQueueService.php#L522
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/DataObject/FieldDefinitionService.php#L31
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/IndexService/AssetIndexService.php#L171
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/Service/SearchIndex/OpenSearch/OpenSearchService.php#L26
PSR-12: Missing visibility definition
Missing visibility: src/Entity/IndexQueue.php#L23
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#L70
Exception 'Missing404Exception' is never thrown in the corresponding 'try' block
Redundant catch clause: src/Service/SearchIndex/OpenSearch/OpenSearchService.php#L57
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#L516
'switch' statement can be converted to 'match' expression
'switch' can be replaced with 'match' expression: src/Service/SearchIndex/IndexQueueService.php#L501
'switch' statement can be converted to 'match' expression
'switch' can be replaced with 'match' expression: src/Service/SearchIndex/IndexQueueService.php#L531
'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/OpenSearch/OpenSearchService.php#L57
Unused local variable 'e'. 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/IndexQueueService.php#L562
Unused local variable 'exception'. 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/SearchIndexConfigService.php#L66
\[EA\] ': array' 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/OpenSearch/OpenSearchService.php#L115
\[EA\] ': void' can be declared as return type hint.
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#L567
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L484
\[EA\] ': int' 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#L318
\[EA\] ': void' 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#L251
\[EA\] ': self' 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/IndexService/AssetIndexService.php#L119
\[EA\] ': self' can be declared as return type hint.
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#L134
\[EA\] ': array' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L260
\[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/IndexQueueService.php#L353
\[EA\] ': self' 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/IndexUpdateService.php#L36
\[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/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/IndexService/DataObjectIndexService.php#L78
\[EA\] ': array' 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#L332
\[EA\] ': self' can be declared as return type hint.
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#L454
\[EA\] ': self' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L469
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L243
\[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#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/Service/SearchIndex/IndexQueueService.php#L223
\[EA\] ': self' can be declared as return type hint.
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/Traits/LoggerAwareTrait.php#L24
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L382
\[EA\] ': self' 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/IndexQueueService.php#L306
\[EA\] ': void' can be declared as return type hint.
Return type hint can be used: src/Service/SearchIndex/IndexQueueService.php#L438
\[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).
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/IndexQueueService.php#L537
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
General exception is thrown: src/Service/SearchIndex/IndexQueueService.php#L507
\[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/OpenSearch/BulkOperationService.php#L53
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
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/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#L430
\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.
'in_array(...)', 'array_search(...)' type unsafe usage: src/Service/SearchIndex/IndexQueueService.php#L471
\[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#L148
\[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).
Type casting can be used: src/Service/SearchIndex/IndexQueueService.php#L146
\[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
438 Bytes