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.

SuccessMessage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 27
c 1
b 0
f 0
dl 0
loc 37
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 29 1
1
<?php
2
3
namespace Honeybadger\HoneybadgerLaravel\Commands;
4
5
class SuccessMessage
6
{
7
    /**
8
     * Success message with links to notices.
9
     *
10
     * @param  string  $noticeId
11
     * @return string
12
     */
13
    public static function make(string $noticeId): string
14
    {
15
        $message = <<<'EX'
16
17
⚡ --- Honeybadger is installed! -----------------------------------------------
18
Good news: You're one deploy away from seeing all of your exceptions in
19
Honeybadger. For now, we've generated a test exception for you:
20
21
    https://app.honeybadger.io/notice/%s
22
23
If you ever need help:
24
25
    - Check out the documentation: https://docs.honeybadger.io/lib/php/index.html
26
    - Email the 'badgers: [email protected]
27
28
Most people don't realize that Honeybadger is a small, bootstrapped company. We
29
really couldn't do this without you. Thank you for allowing us to do what we
30
love: making developers awesome.
31
32
Happy 'badgering!
33
34
Sincerely,
35
Ben, Josh and Starr
36
https://www.honeybadger.io/about/
37
⚡ --- End --------------------------------------------------------------------
38
39
EX;
40
41
        return sprintf($message, $noticeId);
42
    }
43
}
44