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

nepada / file-upload-control / 11627792231

28 Oct 2024 11:42AM UTC coverage: 81.674%. Remained the same
11627792231

push

github

xificurk
FE: fix binding to latest nette-forms.js

722 of 884 relevant lines covered (81.67%)

0.82 hits per line

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

66.67
/src/FileUploadControl/Thumbnail/NullThumbnailProvider.php
1
<?php
2
declare(strict_types = 1);
3

4
namespace Nepada\FileUploadControl\Thumbnail;
5

6
use Nette;
7
use Nette\Http\FileUpload;
8

9
final class NullThumbnailProvider implements ThumbnailProvider
10
{
11

12
    use Nette\SmartObject;
13

14
    public function isSupported(FileUpload $fileUpload): bool
1✔
15
    {
16
        return false;
1✔
17
    }
18

19
    public function createThumbnail(FileUpload $fileUpload): ThumbnailResponse
20
    {
21
        throw new \InvalidArgumentException('Thumbnails are not supported.');
×
22
    }
23

24
}
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