From c6268fb909805f9ffb02350ae91ac1c6632e5e6e Mon Sep 17 00:00:00 2001 From: Patrick Breen Date: Tue, 22 Nov 2016 13:54:34 -0500 Subject: [PATCH] Fix bugsnag for v4 - env => get; fix require path in bugsnag doc --- bugsnag.php | 6 +++--- docs/bugsnag.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bugsnag.php b/bugsnag.php index 97bf064..6403f6c 100644 --- a/bugsnag.php +++ b/bugsnag.php @@ -13,10 +13,10 @@ $defaultConfig = [ 'api_key' => null, - 'release_stage' => env('stages')[0], - 'repository' => env('repository'), + 'release_stage' => get('stages')[0], + 'repository' => get('repository'), 'provider' => null, - 'branch' => env('branch'), + 'branch' => get('branch'), 'revision' => trim(runLocally('git log -n 1 --format="%h"')), 'app_version' => null, ]; diff --git a/docs/bugsnag.md b/docs/bugsnag.md index 2a72c04..ce01d2c 100644 --- a/docs/bugsnag.md +++ b/docs/bugsnag.md @@ -5,7 +5,7 @@ ```php // deploy.php -require 'vendor/deployphp/recipes/bugsnag.php'; +require 'vendor/deployer/recipes/bugsnag.php'; ``` ### Configuration options