Skip to content

Commit

Permalink
rename Messages directory to Message
Browse files Browse the repository at this point in the history
  • Loading branch information
pavarnos committed Aug 14, 2018
1 parent f509258 commit 597cc97
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions src/Threema/MsgApi/Encryptor/AbstractEncryptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
use Threema\MsgApi\Helpers\EncryptResult;
use Threema\MsgApi\Helpers\FileAnalysisResult;
use Threema\MsgApi\Helpers\KeyPair;
use Threema\MsgApi\Messages\DeliveryReceipt;
use Threema\MsgApi\Messages\FileMessage;
use Threema\MsgApi\Messages\ImageMessage;
use Threema\MsgApi\Messages\TextMessage;
use Threema\MsgApi\Messages\AbstractMessage;
use Threema\MsgApi\Message\DeliveryReceipt;
use Threema\MsgApi\Message\FileMessage;
use Threema\MsgApi\Message\ImageMessage;
use Threema\MsgApi\Message\TextMessage;
use Threema\MsgApi\Message\AbstractMessage;

/**
* Contains static methods to do various Threema cryptography related tasks.
Expand Down
6 changes: 3 additions & 3 deletions src/Threema/MsgApi/Helpers/E2EHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
use Threema\MsgApi\Exceptions\HttpException;
use Threema\MsgApi\Exceptions\InvalidArgumentException;
use Threema\MsgApi\Exceptions\UnsupportedMessageTypeException;
use Threema\MsgApi\Messages\FileMessage;
use Threema\MsgApi\Messages\ImageMessage;
use Threema\MsgApi\Messages\AbstractMessage;
use Threema\MsgApi\Message\FileMessage;
use Threema\MsgApi\Message\ImageMessage;
use Threema\MsgApi\Message\AbstractMessage;

/**
* Splits some of the bulky code out of the Connection class to keep the Connection small / clean
Expand Down
2 changes: 1 addition & 1 deletion src/Threema/MsgApi/Helpers/ReceiveMessageResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Threema\MsgApi\Helpers;

use Threema\MsgApi\Messages\AbstractMessage;
use Threema\MsgApi\Message\AbstractMessage;

class ReceiveMessageResult
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @copyright Copyright (c) 2015-2016 Threema GmbH
*/

namespace Threema\MsgApi\Messages;
namespace Threema\MsgApi\Message;

/**
* Abstract base class of messages that can be sent with end-to-end encryption via Threema.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace Threema\MsgApi\Messages;
namespace Threema\MsgApi\Message;

class DeliveryReceipt extends AbstractMessage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace Threema\MsgApi\Messages;
namespace Threema\MsgApi\Message;

class FileMessage extends AbstractMessage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace Threema\MsgApi\Messages;
namespace Threema\MsgApi\Message;

class ImageMessage extends AbstractMessage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace Threema\MsgApi\Messages;
namespace Threema\MsgApi\Message;

class TextMessage extends AbstractMessage
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Threema/MsgApi/EncryptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Threema\MsgApi\Encryptor\AbstractEncryptor;
use Threema\MsgApi\Encryptor\SodiumEncryptor;
use Threema\MsgApi\Helpers\KeyPrefix;
use Threema\MsgApi\Messages\TextMessage;
use Threema\MsgApi\Message\TextMessage;

class EncryptorTest extends TestCase
{
Expand Down

0 comments on commit 597cc97

Please sign in to comment.