Skip to content

Commit

Permalink
Replace TestBroadcaster by BroadcastTesting in the autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrich authored and Henrich committed Dec 4, 2020
1 parent ba2b4fd commit cce737d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
},
"autoload": {
"psr-4": {
"Genl\\TestBroadcaster\\": "src"
"Genl\\BroadcastTesting\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Genl\\TestBroadcaster\\Tests\\": "tests"
"Genl\\BroadcastTesting\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -43,10 +43,10 @@
"extra": {
"laravel": {
"providers": [
"Genl\\TestBroadcaster\\TestBroadcastServiceProvider"
"Genl\\BroadcastTesting\\TestBroadcastServiceProvider"
],
"aliases": {
"TestBroadcaster": "Genl\\TestBroadcaster\\TestBroadcasterFacade"
"TestBroadcaster": "Genl\\BroadcastTesting\\TestBroadcasterFacade"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/CanTestBroadcasting.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Genl\TestBroadcaster;
namespace Genl\BroadcastTesting;

use Illuminate\Support\Str;

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

namespace Genl\TestBroadcaster;
namespace Genl\BroadcastTesting;

use Illuminate\Broadcasting\Broadcasters\Broadcaster;

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

namespace Genl\TestBroadcaster;
namespace Genl\BroadcastTesting;

use Illuminate\Support\Facades\Facade;

Expand All @@ -10,7 +10,7 @@
* @method static bool broadcastContainsAllChannels(array $broadcast, $channels)
* @method static bool broadcastContainsChannel(array $broadcast, string $channel)
*
* @see \Genl\TestBroadcaster\TestBroadcaster
* @see \Genl\BroadcastTesting\TestBroadcaster
*/
class TestBroadcasterFacade extends Facade
{
Expand Down
2 changes: 1 addition & 1 deletion src/TestBroadcasterServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Genl\TestBroadcaster;
namespace Genl\BroadcastTesting;

use Illuminate\Broadcasting\BroadcastManager;
use Illuminate\Foundation\Application;
Expand Down
2 changes: 1 addition & 1 deletion tests/CanTestBroadcastingTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Genl\TestBroadcaster\Tests;
namespace Genl\BroadcastTesting\Tests;

use PHPUnit\Framework\ExpectationFailedException;

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

namespace Genl\TestBroadcaster\Tests;
namespace Genl\BroadcastTesting\Tests;

use Genl\TestBroadcaster\CanTestBroadcasting;
use Genl\TestBroadcaster\TestBroadcasterFacade;
use Genl\TestBroadcaster\TestBroadcasterServiceProvider;
use Genl\BroadcastTesting\CanTestBroadcasting;
use Genl\BroadcastTesting\TestBroadcasterFacade;
use Genl\BroadcastTesting\TestBroadcasterServiceProvider;
use Orchestra\Testbench\TestCase as BaseTestCase;

class TestCase extends BaseTestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/TestEvent.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Genl\TestBroadcaster\Tests;
namespace Genl\BroadcastTesting\Tests;

use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
Expand Down

0 comments on commit cce737d

Please sign in to comment.