Update codestyle standarts #35
Annotations
7 errors and 2 warnings
ArgumentTypeCoercion:
src/TelegramBot/Command/SetWebhookCommand.php#L72
src/TelegramBot/Command/SetWebhookCommand.php:72:33: ArgumentTypeCoercion: Argument 4 of Luzrain\TelegramBotApi\Method\SetWebhook::__construct expects list<string>|null, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/TelegramBot/LongPollingService.php#L66
src/TelegramBot/LongPollingService.php:66:33: ArgumentTypeCoercion: Argument 4 of Luzrain\TelegramBotApi\Method\GetUpdates::__construct expects list<string>|null, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
UndefinedMethod:
src/config/configuration.php#L13
src/config/configuration.php:13:11: UndefinedMethod: Method Symfony\Component\Config\Definition\Builder\NodeDefinition::addDefaultsIfNotSet does not exist (see https://psalm.dev/022)
|
ArgumentTypeCoercion:
src/config/services.php#L121
src/config/services.php:121:71: ArgumentTypeCoercion: Argument 2 of Symfony\Component\DependencyInjection\ContainerBuilder::registerAttributeForAutoconfiguration expects callable(Symfony\Component\DependencyInjection\ChildDefinition, Luzrain\TelegramBotBundle\Attribute\OnEvent, Reflector):void, but parent type impure-Closure(Symfony\Component\DependencyInjection\ChildDefinition, object, ReflectionMethod):void provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/config/services.php#L122
src/config/services.php:122:73: ArgumentTypeCoercion: Argument 2 of Symfony\Component\DependencyInjection\ContainerBuilder::registerAttributeForAutoconfiguration expects callable(Symfony\Component\DependencyInjection\ChildDefinition, Luzrain\TelegramBotBundle\Attribute\OnCommand, Reflector):void, but parent type impure-Closure(Symfony\Component\DependencyInjection\ChildDefinition, object, ReflectionMethod):void provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/config/services.php#L123
src/config/services.php:123:74: ArgumentTypeCoercion: Argument 2 of Symfony\Component\DependencyInjection\ContainerBuilder::registerAttributeForAutoconfiguration expects callable(Symfony\Component\DependencyInjection\ChildDefinition, Luzrain\TelegramBotBundle\Attribute\OnCallback, Reflector):void, but parent type impure-Closure(Symfony\Component\DependencyInjection\ChildDefinition, object, ReflectionMethod):void provided (see https://psalm.dev/193)
|
Tests
Process completed with exit code 2.
|
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests
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/
|