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

nette / assets / 15127866699

20 May 2025 03:00AM UTC coverage: 92.574%. Remained the same
15127866699

push

github

dg
assets: added new properties

2 of 2 new or added lines in 2 files covered. (100.0%)

6 existing lines in 6 files now uncovered.

187 of 202 relevant lines covered (92.57%)

0.93 hits per line

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

66.67
/src/Assets/ScriptAsset.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Nette\Assets;
6

7

8
/**
9
 * Script asset.
10
 */
11
class ScriptAsset implements Asset
12
{
13
        public function __construct(
1✔
14
                public readonly string $url,
15
                public readonly ?string $mimeType = null,
16
                public readonly ?string $file = null,
17
                public readonly ?string $type = null,
18
                /** SRI integrity hash */
19
                public readonly ?string $integrity = null,
20
        ) {
21
        }
1✔
22

23

24
        public function __toString(): string
25
        {
UNCOV
26
                return $this->url;
×
27
        }
28
}
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