Skip to content

Commit

Permalink
Change the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
boring-dragon authored Nov 4, 2024
1 parent f4dbb48 commit 8ba3fc1
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@

"autoload": {
"psr-4": {
"BoringDragon\\MsgowlLaravelNotificationChannel\\": "src/"
"MsgOwl\\MsgowlLaravelNotificationChannel\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BoringDragon\\MsgowlLaravelNotificationChannel\\Test\\": "tests"
"MsgOwl\\MsgowlLaravelNotificationChannel\\Test\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"BoringDragon\\MsgowlLaravelNotificationChannel\\MsgOwlServiceProvider"
"MsgOwl\\MsgowlLaravelNotificationChannel\\MsgOwlServiceProvider"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/CouldNotSendNotification.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel\Exceptions;
namespace MsgOwl\MsgowlLaravelNotificationChannel\Exceptions;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel\Exceptions;
namespace MsgOwl\MsgowlLaravelNotificationChannel\Exceptions;

use Exception;

Expand Down
8 changes: 4 additions & 4 deletions src/MsgOwlChannel.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel;
namespace MsgOwl\MsgowlLaravelNotificationChannel;

use BoringDragon\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification;
use MsgOwl\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Notifications\Events\NotificationFailed;
use Illuminate\Notifications\Notification;

class MsgOwlChannel
{
/** @var \BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlClient */
/** @var \MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlClient */
protected $client;

private $dispatcher;
Expand All @@ -26,7 +26,7 @@ public function __construct(MsgOwlClient $client, ?Dispatcher $dispatcher = null
* @param mixed $notifiable
* @return object with response body data if succesful response from API | empty array if not
*
* @throws \BoringDragon\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification
* @throws \MsgOwl\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification
*/
public function send($notifiable, Notification $notification)
{
Expand Down
4 changes: 2 additions & 2 deletions src/MsgOwlClient.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel;
namespace MsgOwl\MsgowlLaravelNotificationChannel;

use BoringDragon\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification;
use MsgOwl\MsgowlLaravelNotificationChannel\Exceptions\CouldNotSendNotification;
use Exception;
use GuzzleHttp\Client;

Expand Down
2 changes: 1 addition & 1 deletion src/MsgOwlMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace BoringDragon\MsgowlLaravelNotificationChannel;
namespace MsgOwl\MsgowlLaravelNotificationChannel;

class MsgOwlMessage
{
Expand Down
4 changes: 2 additions & 2 deletions src/MsgOwlServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel;
namespace MsgOwl\MsgowlLaravelNotificationChannel;

use BoringDragon\MsgowlLaravelNotificationChannel\Exceptions\InvalidConfiguration;
use MsgOwl\MsgowlLaravelNotificationChannel\Exceptions\InvalidConfiguration;
use GuzzleHttp\Client;
use Illuminate\Support\ServiceProvider;

Expand Down
8 changes: 4 additions & 4 deletions tests/MsgOwlChannelTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel\Test;
namespace MsgOwl\MsgowlLaravelNotificationChannel\Test;

use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlChannel;
use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlClient;
use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlChannel;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlClient;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use GuzzleHttp\Client;
use Illuminate\Notifications\Notifiable;
use Illuminate\Notifications\Notification;
Expand Down
6 changes: 3 additions & 3 deletions tests/MsgOwlClientTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace BoringDragon\MsgowlLaravelNotificationChannel\Test;
namespace MsgOwl\MsgowlLaravelNotificationChannel\Test;

use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlClient;
use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlClient;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use GuzzleHttp\Client;
use Mockery;
use PHPUnit\Framework\TestCase;
Expand Down
4 changes: 2 additions & 2 deletions tests/MsgOwlMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace BoringDragon\MsgowlLaravelNotificationChannel\Test;
namespace MsgOwl\MsgowlLaravelNotificationChannel\Test;

use BoringDragon\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use MsgOwl\MsgowlLaravelNotificationChannel\MsgOwlMessage;
use PHPUnit\Framework\TestCase;

class MsgOwlMessageTest extends TestCase
Expand Down

0 comments on commit 8ba3fc1

Please sign in to comment.