WIP Search text query #54
Annotations
20 errors and 2 warnings
ArgumentTypeCoercion:
src/Controller/ElasticsearchController.php#L73
src/Controller/ElasticsearchController.php:73:17: ArgumentTypeCoercion: Argument 1 of Webgriffe\SyliusElasticsearchPlugin\Generator\IndexNameGeneratorInterface::generateAlias expects Sylius\Component\Core\Model\ChannelInterface, but parent type Sylius\Component\Channel\Model\ChannelInterface provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Controller/ElasticsearchController.php#L126
src/Controller/ElasticsearchController.php:126:13: ArgumentTypeCoercion: Argument 1 of Webgriffe\SyliusElasticsearchPlugin\Generator\IndexNameGeneratorInterface::generateAlias expects Sylius\Component\Core\Model\ChannelInterface, but parent type Sylius\Component\Channel\Model\ChannelInterface provided (see https://psalm.dev/193)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L198
src/DocumentType/ProductDocumentType.php:198:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L216
src/DocumentType/ProductDocumentType.php:216:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L244
src/DocumentType/ProductDocumentType.php:244:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
MoreSpecificReturnType:
src/Factory/ProductResponseFactory.php#L23
src/Factory/ProductResponseFactory.php:23:34: MoreSpecificReturnType: The declared return type 'Webgriffe\SyliusElasticsearchPlugin\Model\ProductResponseInterface' for Webgriffe\SyliusElasticsearchPlugin\Factory\ProductResponseFactory::createNew is more specific than the inferred return type 'object' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
src/Factory/ProductResponseFactory.php#L28
src/Factory/ProductResponseFactory.php:28:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Webgriffe\SyliusElasticsearchPlugin\Model\ProductResponseInterface' for Webgriffe\SyliusElasticsearchPlugin\Factory\ProductResponseFactory::createNew (see https://psalm.dev/129)
|
PossiblyNullArgument:
src/Generator/IndexNameGenerator.php#L73
src/Generator/IndexNameGenerator.php:73:27: PossiblyNullArgument: Argument 1 of strtolower cannot be null, possibly null value provided (see https://psalm.dev/078)
|
UndefinedInterfaceMethod:
src/Parser/ElasticsearchProductDocumentParser.php#L97
src/Parser/ElasticsearchProductDocumentParser.php:97:30: UndefinedInterfaceMethod: Method Sylius\Component\Product\Model\ProductVariantInterface::addChannelPricing does not exist (see https://psalm.dev/181)
|
PossiblyNullArgument:
src/Parser/ElasticsearchProductDocumentParser.php#L117
src/Parser/ElasticsearchProductDocumentParser.php:117:34: PossiblyNullArgument: Argument 1 of array_key_exists cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Controller/ElasticsearchController.php#L73
src/Controller/ElasticsearchController.php:73:17: ArgumentTypeCoercion: Argument 1 of Webgriffe\SyliusElasticsearchPlugin\Generator\IndexNameGeneratorInterface::generateAlias expects Sylius\Component\Core\Model\ChannelInterface, but parent type Sylius\Component\Channel\Model\ChannelInterface provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Controller/ElasticsearchController.php#L126
src/Controller/ElasticsearchController.php:126:13: ArgumentTypeCoercion: Argument 1 of Webgriffe\SyliusElasticsearchPlugin\Generator\IndexNameGeneratorInterface::generateAlias expects Sylius\Component\Core\Model\ChannelInterface, but parent type Sylius\Component\Channel\Model\ChannelInterface provided (see https://psalm.dev/193)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L198
src/DocumentType/ProductDocumentType.php:198:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L216
src/DocumentType/ProductDocumentType.php:216:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
PossiblyNullArrayOffset:
src/DocumentType/ProductDocumentType.php#L244
src/DocumentType/ProductDocumentType.php:244:13: PossiblyNullArrayOffset: Cannot access value on variable $properties[$localeCode] using possibly null offset null|string (see https://psalm.dev/125)
|
MoreSpecificReturnType:
src/Factory/ProductResponseFactory.php#L23
src/Factory/ProductResponseFactory.php:23:34: MoreSpecificReturnType: The declared return type 'Webgriffe\SyliusElasticsearchPlugin\Model\ProductResponseInterface' for Webgriffe\SyliusElasticsearchPlugin\Factory\ProductResponseFactory::createNew is more specific than the inferred return type 'object' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
src/Factory/ProductResponseFactory.php#L28
src/Factory/ProductResponseFactory.php:28:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Webgriffe\SyliusElasticsearchPlugin\Model\ProductResponseInterface' for Webgriffe\SyliusElasticsearchPlugin\Factory\ProductResponseFactory::createNew (see https://psalm.dev/129)
|
PossiblyNullArgument:
src/Generator/IndexNameGenerator.php#L73
src/Generator/IndexNameGenerator.php:73:27: PossiblyNullArgument: Argument 1 of strtolower cannot be null, possibly null value provided (see https://psalm.dev/078)
|
UndefinedInterfaceMethod:
src/Parser/ElasticsearchProductDocumentParser.php#L97
src/Parser/ElasticsearchProductDocumentParser.php:97:30: UndefinedInterfaceMethod: Method Sylius\Component\Product\Model\ProductVariantInterface::addChannelPricing does not exist (see https://psalm.dev/181)
|
PossiblyNullArgument:
src/Parser/ElasticsearchProductDocumentParser.php#L117
src/Parser/ElasticsearchProductDocumentParser.php:117:34: PossiblyNullArgument: Argument 1 of array_key_exists cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Sylius ^1.12, PHP 8.2, Symfony ^6.4, MySQL 5.7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ^1.12, PHP 8.2, Symfony ^6.4, MySQL 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Behat logs
Expired
|
0 Bytes |
|