ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
NoLegacyPanelUsagesRule.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\Scripts\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
NoLegacyPanelUsagesRule
extends
LegacyClassUsageRule
implements Rule
28
{
29
protected
function
getHumanReadableRuleName
(): string
30
{
31
return
'Legacy Panel Usages'
;
32
}
33
34
protected
function
getRelevantILIASVersion
():
int
35
{
36
return
10;
37
}
38
39
40
protected
function
getForbiddenClasses
(): array
41
{
42
return
[
'ilPanelGUI'
];
43
}
44
}
Scope
ILIAS\Scripts\PHPStan\Rules\NoLegacyPanelUsagesRule\getForbiddenClasses
getForbiddenClasses()
Definition:
NoLegacyPanelUsagesRule.php:40
RuleErrorBuilder
ILIAS\Scripts\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\Scripts\PHPStan\Rules\NoLegacyPanelUsagesRule
Definition:
NoLegacyPanelUsagesRule.php:27
ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule
Definition:
LegacyClassUsageRule.php:28
ILIAS\Scripts\PHPStan\Rules\NoLegacyPanelUsagesRule\getHumanReadableRuleName
getHumanReadableRuleName()
Definition:
NoLegacyPanelUsagesRule.php:29
ILIAS\Scripts\PHPStan\Rules\NoLegacyPanelUsagesRule\getRelevantILIASVersion
getRelevantILIASVersion()
Definition:
NoLegacyPanelUsagesRule.php:34
ReflectionProvider
Rule
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
Node
scripts
PHPStan
Rules
NoLegacyPanelUsagesRule.php
Generated on Sun Aug 31 2025 23:04:23 for ILIAS by
1.8.13 (using
Doxyfile
)