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
created

SuccessMessage::withLinkToNotice()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 30

Duplication

Lines 0
Ratio 0 %

Importance

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