ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule Class Reference
+ Inheritance diagram for ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule:
+ Collaboration diagram for ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule:

Protected Member Functions

 getHumanReadableRuleName ()
 
 getRelevantILIASVersion ()
 
 getForbiddenClasses ()
 
- Protected Member Functions inherited from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule
 findInstanceCreation ()
 
 findMethodUsages ()
 
 getForbiddenClasses ()
 
 getHumanReadableRuleName ()
 
 getRelevantILIASVersion ()
 

Additional Inherited Members

- Public Member Functions inherited from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule
 __construct (ReflectionProvider $reflectionProvider, \PHPStan\Rules\Generics\GenericAncestorsCheck $genericAncestorsCheck)
 
 getNodeType ()
 
 processNode (Node $node, Scope $scope)
 
- Protected Attributes inherited from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule
ReflectionProvider $reflectionProvider
 
PHPStan Rules Generics GenericAncestorsCheck $genericAncestorsCheck
 

Detailed Description

Definition at line 27 of file NoLegacyOverlayUsagesRule.php.

Member Function Documentation

◆ getForbiddenClasses()

ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule::getForbiddenClasses ( )
protected

Definition at line 40 of file NoLegacyOverlayUsagesRule.php.

40  : array
41  {
42  return ['ilOverlayGUI'];
43  }

◆ getHumanReadableRuleName()

ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule::getHumanReadableRuleName ( )
protected

Definition at line 29 of file NoLegacyOverlayUsagesRule.php.

29  : string
30  {
31  return 'Legacy Overlay Usages';
32  }

◆ getRelevantILIASVersion()

ILIAS\Scripts\PHPStan\Rules\NoLegacyOverlayUsagesRule::getRelevantILIASVersion ( )
protected

Definition at line 34 of file NoLegacyOverlayUsagesRule.php.

34  : int
35  {
36  return 10;
37  }

The documentation for this class was generated from the following file: