File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Twitter ;
44
5- use Kylewm \Brevity \Brevity ;
65use Illuminate \Support \Collection ;
6+ use Kylewm \Brevity \Brevity ;
77use NotificationChannels \Twitter \Exceptions \CouldNotSendNotification ;
88
99class TwitterStatusUpdate
Original file line number Diff line number Diff line change 66
77abstract class TestCase extends \Orchestra \Testbench \TestCase
88{
9- public function tearDown () : void
9+ public function tearDown (): void
1010 {
1111 parent ::tearDown ();
1212
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Twitter \Test ;
44
5- use Mockery ;
6- use stdClass ;
75use Abraham \TwitterOAuth \TwitterOAuth ;
86use Illuminate \Notifications \Notification ;
7+ use Mockery ;
8+ use NotificationChannels \Twitter \Exceptions \CouldNotSendNotification ;
99use NotificationChannels \Twitter \TwitterChannel ;
1010use NotificationChannels \Twitter \TwitterStatusUpdate ;
11- use NotificationChannels \ Twitter \ Exceptions \ CouldNotSendNotification ;
11+ use stdClass ;
1212
1313class TwitterChannelTest extends TestCase
1414{
@@ -18,7 +18,7 @@ class TwitterChannelTest extends TestCase
1818 /** @var \NotificationChannels\Twitter\TwitterChannel */
1919 protected $ channel ;
2020
21- public function setUp () : void
21+ public function setUp (): void
2222 {
2323 parent ::setUp ();
2424 $ this ->twitter = Mockery::mock (TwitterOAuth::class);
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Twitter \Test ;
44
5- use Mockery ;
65use Abraham \TwitterOAuth \TwitterOAuth ;
6+ use Mockery ;
77use NotificationChannels \Twitter \TwitterDirectMessage ;
88
99class TwitterDirectMessageTest extends TestCase
@@ -16,7 +16,7 @@ class TwitterDirectMessageTest extends TestCase
1616
1717 protected $ twitter ;
1818
19- public function setUp () : void
19+ public function setUp (): void
2020 {
2121 parent ::setUp ();
2222 $ this ->twitter = Mockery::mock (TwitterOAuth::class);
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Twitter \Test ;
44
5+ use NotificationChannels \Twitter \Exceptions \CouldNotSendNotification ;
56use NotificationChannels \Twitter \TwitterImage ;
67use NotificationChannels \Twitter \TwitterStatusUpdate ;
7- use NotificationChannels \Twitter \Exceptions \CouldNotSendNotification ;
88
99class TwitterStatusUpdateTest extends TestCase
1010{
You can’t perform that action at this time.
0 commit comments