Skip to content

Commit

Permalink
apply cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
aozisik committed Dec 19, 2023
1 parent 509d464 commit 78d184a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/AppkeepProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function boot()

public function bootForConsole()
{
if (!$this->app->runningInConsole()) {
if (! $this->app->runningInConsole()) {
return;
}

Expand Down
1 change: 0 additions & 1 deletion src/Checks/DatabaseConnectionCountCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Illuminate\Support\Facades\Cache;
use Appkeep\Laravel\Database\MySqlInspector;
use Appkeep\Laravel\Database\PostgresInspector;
use Appkeep\Laravel\Database\SqlServerInspector;

class DatabaseConnectionCountCheck extends Check
{
Expand Down
6 changes: 3 additions & 3 deletions src/Concerns/WatchesScheduledTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public function dontWatchScheduledTasks()

protected function watchScheduledTasks(Application $app)
{
if (!$this->watchScheduledTasks) {
if (! $this->watchScheduledTasks) {
return;
}

if (!$app->runningInConsole()) {
if (! $app->runningInConsole()) {
return;
}

Expand All @@ -40,7 +40,7 @@ protected function watchScheduledTasks(Application $app)
collect($schedule->events())
->filter(function ($event) {
// Don't monitor the Appkeep scheduled task itself.
return $event->command && !str_contains($event->command, 'appkeep:run');
return $event->command && ! str_contains($event->command, 'appkeep:run');
})
->each(function (Event $event) {
$event->before(fn () => $this->scheduledTaskStarted($event));
Expand Down
1 change: 0 additions & 1 deletion tests/Feature/HttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public function it_sends_event()

$client = new HttpClient('appkeep_key');
$client->sendEvent(new class extends AbstractEvent {

protected $name = 'test_event';

public function toArray()
Expand Down

0 comments on commit 78d184a

Please sign in to comment.