Skip to content

Commit cf5e008

Browse files
committed
Merge branch 'master' into releases/0.9.x
2 parents 2ccd0e0 + d0b01bd commit cf5e008

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
- ...
55

6+
0.9.2
7+
-----
8+
9+
- The `sentry:test` artisan command no longer requires the secret key in the DSN (secret key in DSN deprecated since Sentry 9).
10+
611

712
0.9.1
813
-----

src/Sentry/SentryLaravel/SentryTestCommand.php

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
class SentryTestCommand extends Command
88
{
9-
// XXX(dcramer): Laravel 4.x compatibility
10-
protected $name = 'sentry:test';
11-
129
/**
1310
* The name and signature of the console command.
1411
*
@@ -23,22 +20,6 @@ class SentryTestCommand extends Command
2320
*/
2421
protected $description = 'Generate a test event and send it to Sentry';
2522

26-
/**
27-
* Create a new command instance.
28-
*
29-
* @return void
30-
*/
31-
public function __construct()
32-
{
33-
parent::__construct();
34-
}
35-
36-
// XXX(dcramer): Laravel 4.x compatibility
37-
public function fire()
38-
{
39-
$this->handle();
40-
}
41-
4223
/**
4324
* Execute the console command.
4425
*
@@ -53,7 +34,7 @@ public function handle()
5334
$client = app('sentry');
5435

5536
$config = get_object_vars($client);
56-
$required_keys = array('server', 'project', 'public_key', 'secret_key');
37+
$required_keys = array('server', 'project', 'public_key');
5738

5839
$output = '';
5940
foreach ($required_keys as $key) {

0 commit comments

Comments
 (0)