Skip to content

Commit

Permalink
Merge branch 'master' into releases/0.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Jul 18, 2018
2 parents 2ccd0e0 + d0b01bd commit cf5e008
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

- ...

0.9.2
-----

- The `sentry:test` artisan command no longer requires the secret key in the DSN (secret key in DSN deprecated since Sentry 9).


0.9.1
-----
Expand Down
21 changes: 1 addition & 20 deletions src/Sentry/SentryLaravel/SentryTestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

class SentryTestCommand extends Command
{
// XXX(dcramer): Laravel 4.x compatibility
protected $name = 'sentry:test';

/**
* The name and signature of the console command.
*
Expand All @@ -23,22 +20,6 @@ class SentryTestCommand extends Command
*/
protected $description = 'Generate a test event and send it to Sentry';

/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}

// XXX(dcramer): Laravel 4.x compatibility
public function fire()
{
$this->handle();
}

/**
* Execute the console command.
*
Expand All @@ -53,7 +34,7 @@ public function handle()
$client = app('sentry');

$config = get_object_vars($client);
$required_keys = array('server', 'project', 'public_key', 'secret_key');
$required_keys = array('server', 'project', 'public_key');

$output = '';
foreach ($required_keys as $key) {
Expand Down

0 comments on commit cf5e008

Please sign in to comment.