Log incoming webhooks #78
Annotations
7 errors
|
src/Factory/WebhookFactory.php#L31
src/Factory/WebhookFactory.php:31:26: InvalidArgument: Argument 1 of Setono\SyliusPeakPlugin\Model\WebhookInterface::setHeaders expects array<string, list<null|string>>|null, but array<int|string, array<int, null|string>|null|string> provided (see https://psalm.dev/004)
|
src/Logger/WebhookLogger.php#L16
src/Logger/WebhookLogger.php:16:52: MethodSignatureMismatch: Argument 2 of Setono\SyliusPeakPlugin\Logger\WebhookLogger::log has wrong type 'Stringable|string', expecting '' as defined by Psr\Log\LoggerInterface::log (see https://psalm.dev/042)
|
src/Logger/WebhookLogger.php#L18
src/Logger/WebhookLogger.php:18:99: RedundantCastGivenDocblockType: Redundant cast to string given docblock-provided type (see https://psalm.dev/263)
|
tests/Functional/Controller/HandleWebhookActionTest.php#L119
tests/Functional/Controller/HandleWebhookActionTest.php:119:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sylius\Bundle\CoreBundle\Factory\OrderFactoryInterface does not exist (see https://psalm.dev/200)
|
tests/Functional/Controller/HandleWebhookActionTest.php#L122
tests/Functional/Controller/HandleWebhookActionTest.php:122:18: UndefinedDocblockClass: Docblock-defined class, interface or enum named Sylius\Bundle\CoreBundle\Factory\OrderFactoryInterface does not exist (see https://psalm.dev/200)
|
|
This job was cancelled
Loading