Skip to content

Commit

Permalink
Rename the console scheduling integration
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Apr 12, 2024
1 parent 054e0d6 commit ba673dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Sentry\MonitorSchedule;
use Sentry\SentrySdk;

class ConsoleIntegration extends Feature
class ConsoleSchedulingIntegration extends Feature
{
/**
* @var array<string, CheckIn> The list of checkins that are currently in progress.
Expand All @@ -32,7 +32,7 @@ public function register(): void
{
$this->onBootInactive();
}

public function isApplicable(): bool
{
return $this->container()->make(Application::class)->runningInConsole();
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry/Laravel/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ class ServiceProvider extends BaseServiceProvider
Features\LogIntegration::class,
Features\CacheIntegration::class,
Features\QueueIntegration::class,
Features\ConsoleIntegration::class,
Features\Storage\Integration::class,
Features\HttpClientIntegration::class,
Features\FolioPackageIntegration::class,
Features\NotificationsIntegration::class,
Features\LivewirePackageIntegration::class,
Features\ConsoleSchedulingIntegration::class,
];

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sentry\Laravel\Tests\TestCase;
use Illuminate\Console\Scheduling\Event;

class ConsoleIntegrationTest extends TestCase
class ConsoleSchedulingIntegrationTest extends TestCase
{
public function testScheduleMacro(): void
{
Expand Down

0 comments on commit ba673dc

Please sign in to comment.