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

nette / utils / 20837454563

09 Jan 2026 12:59AM UTC coverage: 93.264% (-0.04%) from 93.306%
20837454563

push

github

dg
added CLAUDE.md

2063 of 2212 relevant lines covered (93.26%)

0.93 hits per line

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

90.0
/src/compatibility.php
1
<?php
2

3
/**
1✔
4
 * This file is part of the Nette Framework (https://nette.org)
5
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6
 */
7

8
declare(strict_types=1);
9

10
namespace Nette\Utils;
11

12
use Nette;
1✔
13

14
if (false) {
1✔
15
        /** @deprecated use Nette\HtmlStringable */
1✔
16
        interface IHtmlString extends Nette\HtmlStringable
1✔
17
        {
18
        }
19
} elseif (!interface_exists(IHtmlString::class)) {
1✔
20
        class_alias(Nette\HtmlStringable::class, IHtmlString::class);
×
21
}
22

23
namespace Nette\Localization;
24

25
if (false) {
1✔
26
        /** @deprecated use Nette\Localization\Translator */
27
        interface ITranslator extends Translator
28
        {
29
        }
30
} elseif (!interface_exists(ITranslator::class)) {
1✔
31
        class_alias(Translator::class, ITranslator::class);
1✔
32
}
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