Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function handle(
$this->info('🔄 Migrating table: '.$table);

if (! $isDryRun) {
$migrationService->migrateTable($table, $chunkSize, function (string $processed, int $total): void {
$migrationService->migrateTable($table, $chunkSize, function (int $processed, int $total): void {
$this->line(sprintf(' 📊 Processed %s/%s records', $processed, $total));
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion app/Actions/GetGithubRepositoriesAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __invoke(): Collection
return Cache::remember(
key: 'github-repositories',
ttl: now()->addMonth(),
callback: fn () => collect($response->json())
callback: fn (): Collection => collect($response->json())
->reject(fn (array $value): bool => $value['fork'] === true || ! in_array($value['name'], $only))
->map(fn (array $data): RepositoryData => RepositoryData::from($data))
);
Expand Down
2 changes: 1 addition & 1 deletion config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'root' => env('AWS_ROOT_DIRECTORY', 'public'),
'root' => env('AWS_ROOT', 'public'),
'visibility' => 'public',
'directory_visibility' => 'public',
'throw' => false,
Expand Down
14 changes: 3 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ services:
condition: service_started
memcached:
condition: service_started
# - soketi
soketi:
condition: service_healthy
labels:
- traefik.enable=true
- traefik.http.routers.laravelcm.rule=Host(`${APP_DOMAIN:-laravelcm.local}`)
Expand Down Expand Up @@ -135,16 +136,7 @@ services:
networks:
- sail
healthcheck:
test:
[
"CMD",
"pg_isready",
"-q",
"-d",
"${DB_DATABASE}",
"-U",
"${DB_USERNAME}",
]
test: ["CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}"]
retries: 3
timeout: 5s

Expand Down