Remove unused imports across multiple files
This commit is contained in:
parent
7623f488ee
commit
1eaf2e7d91
31 changed files with 0 additions and 55 deletions
|
@ -5,9 +5,7 @@
|
|||
|
||||
use Exception;
|
||||
use LogLib\Log;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Currency;
|
||||
use TgBotLib\Objects\Update;
|
||||
|
||||
class Utilities
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\ChatJoinRequest;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\ChatMemberUpdated;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Inline\ChosenInlineResult;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\BusinessMessagesDeleted;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Inline\InlineQuery;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\MessageReactionCountUpdated;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\MessageReactionUpdated;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\PollAnswer;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Poll;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Payments\PreCheckoutQuery;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib\Events;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\EventType;
|
||||
use TgBotLib\Objects\Payments\ShippingQuery;
|
||||
|
||||
|
|
|
@ -5,12 +5,8 @@
|
|||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
use TgBotLib\Objects\MessageId;
|
||||
use TgBotLib\Objects\ReplyParameters;
|
||||
|
||||
class CopyMessages extends Method
|
||||
{
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Enums\Types\ChatActionType;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendChatAction extends Method
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace TgBotLib\Methods;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
|
|
|
@ -5,12 +5,6 @@
|
|||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
use TgBotLib\Objects\ReplyParameters;
|
||||
|
||||
class SetWebhook extends Method
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace TgBotLib;
|
||||
|
||||
use TgBotLib\Abstracts\UpdateEvent;
|
||||
use TgBotLib\Classes\Utilities;
|
||||
use TgBotLib\Enums\EventType;
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageId;
|
||||
|
||||
|
|
|
@ -4,9 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageId;
|
||||
|
||||
class CopyMessagesTest extends TestCase
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class ForwardMessageTest extends TestCase
|
||||
|
|
|
@ -4,9 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageId;
|
||||
|
||||
class ForwardMessagesTest extends TestCase
|
||||
|
|
|
@ -4,10 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageId;
|
||||
use TgBotLib\Objects\Update;
|
||||
|
||||
class GetUpdatesTest extends TestCase
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendAnimationTest extends TestCase
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendAudioTest extends TestCase
|
||||
|
|
|
@ -5,8 +5,6 @@ namespace TgBotLib\Methods;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ChatActionType;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendChatActionTest extends TestCase
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendDiceTest extends TestCase
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendDocumentTest extends TestCase
|
||||
|
|
|
@ -4,9 +4,7 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\InputMedia\InputMediaPhoto;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendMediaGroupTest extends TestCase
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace TgBotLib\Methods;
|
|||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendPhotoTest extends TestCase
|
||||
|
|
Loading…
Add table
Reference in a new issue