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