Skip to content

Commit

Permalink
Merge branch 'sentry-update'
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHolbrook committed Mar 15, 2021
2 parents 32ee4ec + 03e4e02 commit 71d74c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 140 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
},
"require": {
"php": ">=7.0",
"sentry/sentry": "^1.9",
"arrilot/dotenv-php": "^1.0",
"a7/autoload": ">=2",

"zeek/php-utils": ">=2"

"zeek/php-utils": ">=2",

"zeek/wp-sentry": "^1.0"
}
}
1 change: 1 addition & 0 deletions src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class Constants
{
private static $env_vars = [
'ENVIRONMENT' => 'production',
'ACF_LITE' => true,
'DISABLE_WP_CRON' => false,
'FILE_MOD_ALLOWED' => false,
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Zeek\WP_Util;

use Zeek\WpSentry\WpSentry;
use function A7\autoload;

function bootstrap( $dir ) {
Expand All @@ -13,7 +14,7 @@ function bootstrap( $dir ) {
/**
* Add Sentry Error Logging
*/
ErrorHandling::init();
WpSentry::init();

/**
* Enable WP Util Behaviors
Expand Down
136 changes: 0 additions & 136 deletions src/third-party/Sentry.php

This file was deleted.

0 comments on commit 71d74c3

Please sign in to comment.