ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
NoLegacyExplorerUsagesRule.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
NoLegacyExplorerUsagesRule
extends
LegacyClassUsageRule
implements Rule
28
{
29
protected
function
getHumanReadableRuleName
(): string
30
{
31
return
'Legacy Explorer Usages'
;
32
}
33
34
protected
function
getRelevantILIASVersion
(): int
35
{
36
return
10;
37
}
38
39
40
protected
function
getForbiddenClasses
(): array
41
{
42
return
[
'ilExplorer'
,
'ilExplorerBaseGUI'
,
'ilTreeExplorerGUI'
];
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
RuleErrorBuilder
ILIAS\CI\PHPStan\Rules\NoLegacyExplorerUsagesRule\getForbiddenClasses
getForbiddenClasses()
Definition:
NoLegacyExplorerUsagesRule.php:40
ILIAS\CI\PHPStan\Rules\NoLegacyExplorerUsagesRule\getRelevantILIASVersion
getRelevantILIASVersion()
Definition:
NoLegacyExplorerUsagesRule.php:34
ILIAS\CI\PHPStan\Rules\NoLegacyExplorerUsagesRule
Definition:
NoLegacyExplorerUsagesRule.php:27
ReflectionProvider
ILIAS\CI\PHPStan\Rules\LegacyClassUsageRule
Definition:
LegacyClassUsageRule.php:28
Rule
ILIAS\CI\PHPStan\Rules\NoLegacyExplorerUsagesRule\getHumanReadableRuleName
getHumanReadableRuleName()
Definition:
NoLegacyExplorerUsagesRule.php:29
Node
CI
PHPStan
Rules
NoLegacyExplorerUsagesRule.php
Generated on Tue Sep 2 2025 21:00:54 for ILIAS by
1.8.13 (using
Doxyfile
)