• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SameOldNick / SameOldWebsite / 21471360437

29 Jan 2026 08:41AM UTC coverage: 87.487% (-0.02%) from 87.511%
21471360437

push

github

web-flow
Continues to next action if tests fail

28499 of 32575 relevant lines covered (87.49%)

696.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/app/Components/Backup/Providers/BackupDatabaseConfigurationProvider.php
1
<?php
2

3
namespace App\Components\Backup\Providers;
4

5
use App\Components\Backup\Contracts\BackupConfigurationProvider;
6
use App\Models\FilesystemConfiguration;
7
use Illuminate\Support\Facades\Log;
8

9
class BackupDatabaseConfigurationProvider extends DatabaseConfigurationProvider implements BackupConfigurationProvider
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    public function getDisks(): array
15
    {
16
        try {
17
            return FilesystemConfiguration::where('is_active', true)->get()->map(
30✔
18
                fn (FilesystemConfiguration $config) => $config->driver_name
30✔
19
            )->toArray();
30✔
20
        } catch (\Exception $e) {
×
21
            Log::error('Failed to fetch active filesystem configurations for backup disks: '.$e->getMessage());
×
22

23
            return [];
×
24
        }
25

26
    }
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc