ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
NoLegacyLightboxUsagesRule.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\CI\PHPStan\Rules
;
20
21
use
PHPStan\Reflection\ReflectionProvider
;
22
use
PHPStan\Rules\Rule
;
23
use
PhpParser\Node
;
24
use
PHPStan\Analyser\Scope
;
25
use
PHPStan\Rules\RuleErrorBuilder
;
26
27
class
NoLegacyLightboxUsagesRule
extends
LegacyClassUsageRule
implements Rule
28
{
29
protected
function
getHumanReadableRuleName
(): string
30
{
31
return
'Legacy Lightbox Usages'
;
32
}
33
34
protected
function
getRelevantILIASVersion
(): int
35
{
36
return
10;
37
}
38
39
40
protected
function
getForbiddenClasses
(): array
41
{
42
return
[
'ilLightboxGUI'
];
43
}
44
}
Scope
ILIAS\CI\PHPStan\Rules
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
LegacyClassUsageRule.php:19
ILIAS\CI\PHPStan\Rules\NoLegacyLightboxUsagesRule\getHumanReadableRuleName
getHumanReadableRuleName()
Definition:
NoLegacyLightboxUsagesRule.php:29
RuleErrorBuilder
ILIAS\CI\PHPStan\Rules\NoLegacyLightboxUsagesRule
Definition:
NoLegacyLightboxUsagesRule.php:27
ILIAS\CI\PHPStan\Rules\NoLegacyLightboxUsagesRule\getForbiddenClasses
getForbiddenClasses()
Definition:
NoLegacyLightboxUsagesRule.php:40
ReflectionProvider
ILIAS\CI\PHPStan\Rules\LegacyClassUsageRule
Definition:
LegacyClassUsageRule.php:28
Rule
ILIAS\CI\PHPStan\Rules\NoLegacyLightboxUsagesRule\getRelevantILIASVersion
getRelevantILIASVersion()
Definition:
NoLegacyLightboxUsagesRule.php:34
Node
CI
PHPStan
Rules
NoLegacyLightboxUsagesRule.php
Generated on Sun Apr 13 2025 21:01:01 for ILIAS by
1.8.13 (using
Doxyfile
)