for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Transmissor\Http\Controllers;
use Transmissor\Conversations\RegisterGroupConversation;
use BotMan\BotMan\BotMan;
class GroupsController extends Controller
{
public function register(BotMan $bot)
$bot->startConversation(new RegisterGroupConversation());
}
public function registerNewGroup($payload, BotMan $bot)
$payload
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->register($bot);
public function registerNewChatMember($payload, BotMan $bot)
foreach ($payload as $newUser) {
if ($newUser['is_bot'] && $newUser['id'] === config('botman.telegram.bot.id')) {
return;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.