for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace TelegramBotTest\Examples\EchoBot;
use TelegramBot\Entities\Update;
use TelegramBotTest\Examples\EchoBot\Plugins\MainPlugin;
class Handler extends \TelegramBot\UpdateHandler
{
/**
* @inheritDoc
*/
public function __process(Update $update): void
self::addPlugins([
TelegramBot\UpdateHandler::addPlugins()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
self::/** @scrutinizer ignore-call */
addPlugins([
MainPlugin::class,
]);
}