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

nette / security / 22292290616

23 Feb 2026 03:52AM UTC coverage: 92.466%. Remained the same
22292290616

push

github

dg
added CLAUDE.md

540 of 584 relevant lines covered (92.47%)

0.92 hits per line

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

88.24
/src/compatibility.php
1
<?php declare(strict_types=1);
2

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

8
namespace Nette\Security;
9

10
if (false) {
1✔
11
        /** @deprecated use Nette\Security\Authorizator */
12
        interface IAuthorizator extends Authorizator
×
13
        {
14
        }
15
} elseif (!interface_exists(IAuthorizator::class)) {
1✔
16
        class_alias(Authorizator::class, IAuthorizator::class);
1✔
17
}
18

19
if (false) {
1✔
20
        /** @deprecated use Nette\Security\Resource */
21
        interface IResource extends Resource
×
22
        {
23
        }
24
} elseif (!interface_exists(IResource::class)) {
1✔
25
        class_alias(Resource::class, IResource::class);
1✔
26
}
1✔
27

1✔
28
if (false) {
1✔
29
        /** @deprecated use Nette\Security\Role */
1✔
30
        interface IRole extends Role
1✔
31
        {
1✔
32
        }
1✔
33
} elseif (!interface_exists(IRole::class)) {
1✔
34
        class_alias(Role::class, IRole::class);
1✔
35
}
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