ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NoLegacyTabsUsagesRule.php
Go to the documentation of this file.
1<?php
2
20
21use PHPStan\Rules\Rule;
22
23class NoLegacyTabsUsagesRule extends LegacyClassUsageRule implements Rule
24{
25 protected function getHumanReadableRuleName(): string
26 {
27 return 'Legacy Tabs Usages';
28 }
29
30 protected function getRelevantILIASVersion(): int
31 {
32 return 10;
33 }
34
35 protected function getForbiddenClasses(): array
36 {
37 return ['ilTabsGUI'];
38 }
39
40 protected function findMethodUsages(): bool
41 {
42 return true;
43 }
44}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...