Skip to content

Commit 30d6860

Browse files
authored
Apply latest Pint rules (#9)
1 parent df1fe66 commit 30d6860

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SlackNotifierFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class SlackNotifierFormatter
3939

4040
public function __construct()
4141
{
42-
$this->message = new SlackMessage();
43-
$this->normalizer = new NormalizerFormatter();
42+
$this->message = new SlackMessage;
43+
$this->normalizer = new NormalizerFormatter;
4444

4545
$this->context = config('slack-notifier.context', [
4646
'get', 'post', 'cookie', 'session',

tests/SlackNotifierTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
it('can send a notification with an object to slack using the default webhook url', function () {
4949
config()->set('slack-notifier.webhook_urls.default', 'https://default-domain.com');
5050

51-
SlackNotifier::send(new stdClass());
51+
SlackNotifier::send(new stdClass);
5252

5353
Notification::assertSentTimes(SendToSlack::class, 1);
5454
});

0 commit comments

Comments
 (0)