ILIAS  release_7 Revision v7.30-3-g800a261c036
NoLegacyTooltipsUsagesRule.php
Go to the documentation of this file.
1<?php
2
20
21use PHPStan\Reflection\ReflectionProvider;
22use PHPStan\Rules\Rule;
23use PhpParser\Node;
24use PHPStan\Analyser\Scope;
25use PHPStan\Rules\RuleErrorBuilder;
26
28{
29 protected function getHumanReadableRuleName(): string
30 {
31 return 'Legacy Tooltip Usages';
32 }
33
34 protected function getRelevantILIASVersion(): int
35 {
36 return 10;
37 }
38
39
40 protected function getForbiddenClasses(): array
41 {
42 return ['ilTooltipGUI'];
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...