From b2ba4fc85846a53e61bd863fd7e58cf65f6b7581 Mon Sep 17 00:00:00 2001 From: Irfaq Syed Date: Fri, 21 Feb 2020 07:22:52 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- tests/Integration/TelegramApiTest.php | 4 ++-- tests/Unit/Methods/UpdateTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Integration/TelegramApiTest.php b/tests/Integration/TelegramApiTest.php index 72a77a43..5ce6b9ce 100644 --- a/tests/Integration/TelegramApiTest.php +++ b/tests/Integration/TelegramApiTest.php @@ -4,8 +4,6 @@ use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Stream; -use Telegram\Bot\Exceptions\TelegramSDKException; -use Telegram\Bot\Exceptions\CouldNotUploadInputFile; use function GuzzleHttp\Psr7\stream_for; use League\Event\Emitter; use PHPUnit\Framework\TestCase; @@ -13,7 +11,9 @@ use Telegram\Bot\Api; use Telegram\Bot\Commands\CommandBus; use Telegram\Bot\Events\UpdateWasReceived; +use Telegram\Bot\Exceptions\CouldNotUploadInputFile; use Telegram\Bot\Exceptions\TelegramResponseException; +use Telegram\Bot\Exceptions\TelegramSDKException; use Telegram\Bot\FileUpload\InputFile; use Telegram\Bot\HttpClients\GuzzleHttpClient; use Telegram\Bot\Objects\Message; diff --git a/tests/Unit/Methods/UpdateTest.php b/tests/Unit/Methods/UpdateTest.php index 8b8c9283..22e6569d 100644 --- a/tests/Unit/Methods/UpdateTest.php +++ b/tests/Unit/Methods/UpdateTest.php @@ -3,8 +3,8 @@ namespace Telegram\Bot\Tests\Unit\Methods; use PHPUnit\Framework\TestCase; -use Telegram\Bot\Methods\Update; use Telegram\Bot\Exceptions\TelegramSDKException; +use Telegram\Bot\Methods\Update; class UpdateTest extends TestCase {