Skip to content
This repository was archived by the owner on Apr 26, 2020. It is now read-only.

Commit fe69c98

Browse files
authored
Merge pull request #73 from pdbreen/master
Fix bugsnag for v4 - env => get; fix require path in bugsnag doc
2 parents c2883d9 + c6268fb commit fe69c98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bugsnag.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
$defaultConfig = [
1515
'api_key' => null,
16-
'release_stage' => env('stages')[0],
17-
'repository' => env('repository'),
16+
'release_stage' => get('stages')[0],
17+
'repository' => get('repository'),
1818
'provider' => null,
19-
'branch' => env('branch'),
19+
'branch' => get('branch'),
2020
'revision' => trim(runLocally('git log -n 1 --format="%h"')),
2121
'app_version' => null,
2222
];

docs/bugsnag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```php
66
// deploy.php
77

8-
require 'vendor/deployphp/recipes/bugsnag.php';
8+
require 'vendor/deployer/recipes/bugsnag.php';
99
```
1010

1111
### Configuration options

0 commit comments

Comments
 (0)