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

plank / laravel-mediable / 12591569499

03 Jan 2025 02:02AM UTC coverage: 94.663%. Remained the same
12591569499

Pull #374

github

frasmage
adjust variant FK constraint drop
Pull Request #374: adjust variant FK constraint drop

1490 of 1574 relevant lines covered (94.66%)

154.54 hits per line

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

50.0
/src/Exceptions/MediaUpload/FileNotFoundException.php
1
<?php
2
declare(strict_types=1);
3

4
namespace Plank\Mediable\Exceptions\MediaUpload;
5

6
use Plank\Mediable\Exceptions\MediaUploadException;
7

8
class FileNotFoundException extends MediaUploadException
9
{
10
    public static function fileNotFound(string $path, ?\Throwable $original = null): self
11
    {
12
        return new self("File `{$path}` does not exist.", 0, $original);
12✔
13
    }
14

15
    public static function invalidDataUrl(): self
16
    {
17
        return new self('Invalid Data URL');
×
18
    }
19
}
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

© 2025 Coveralls, Inc