GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#11)
by TJ
02:11 queued 46s
created

SuccessMessage::withoutLinkToNotices()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 21

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 21
rs 9.584
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Honeybadger\HoneybadgerLaravel\Commands;
4
5
class SuccessMessage
6
{
7
    public static function withoutLinkToNotices() : string
8
    {
9
        return <<<'EX'
10
⚡ --- Honeybadger is installed! -----------------------------------------------
11
If you ever need help:
12
13
    - Check out the documentation: https://docs.honeybadger.io/lib/php/index.html
14
    - Email the 'badgers: [email protected]
15
16
Most people don't realize that Honeybadger is a small, bootstrapped company. We
17
really couldn't do this without you. Thank you for allowing us to do what we
18
love: making developers awesome.
19
20
Happy 'badgering!
21
22
Sincerely,
23
Ben, Josh and Starr
24
https://www.honeybadger.io/about/
25
⚡ --- End --------------------------------------------------------------------
26
EX;
27
    }
28
29
    public static function withLinkToNotice(string $noticeId) : string
30
    {
31
        $message = <<<'EX'
32
⚡ --- Honeybadger is installed! -----------------------------------------------
33
Good news: You're one deploy away from seeing all of your exceptions in
34
Honeybadger. For now, we've generated a test exception for you:
35
36
    https://app.honeybadger.io/notice/%s
37
38
If you ever need help:
39
40
    - Check out the documentation: https://docs.honeybadger.io/lib/php/index.html
41
    - Email the 'badgers: [email protected]
42
43
Most people don't realize that Honeybadger is a small, bootstrapped company. We
44
really couldn't do this without you. Thank you for allowing us to do what we
45
love: making developers awesome.
46
47
Happy 'badgering!
48
49
Sincerely,
50
Ben, Josh and Starr
51
https://www.honeybadger.io/about/
52
⚡ --- End --------------------------------------------------------------------
53
EX;
54
55
        return sprintf($message, $noticeId);
56
    }
57
}
58