Skip to content

Commit

Permalink
Passing Larastan
Browse files Browse the repository at this point in the history
  • Loading branch information
spam-n-eggs committed Aug 6, 2024
1 parent 3c18fe9 commit 10cdd4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 36 deletions.
2 changes: 2 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
includes:
- vendor/larastan/larastan/extension.neon
2 changes: 1 addition & 1 deletion src/DockerMinionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function boot()

if (boolval(config('docker-minion.watch-docker'))) {
$this->eventStream = $this->docker->systemEvents();
$this->eventStream->onFrame(fn ($event) => event(new DockerChangedEvent($event)));
$this->eventStream->onFrame(fn ($event) => event(new DockerChangedEvent($event))); //@phpstan-ignore-line
}
} catch (\Exception $e) {
Log::warning(sprintf('Could not connect to Docker Daemon: %s', $e->getMessage()));
Expand Down
35 changes: 0 additions & 35 deletions src/Jobs/DockerStatus.php

This file was deleted.

0 comments on commit 10cdd4c

Please sign in to comment.