| Conditions | 1 |
| Paths | 1 |
| Total Lines | 30 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 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 |