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

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 NoLegacySyntaxHighlighterUsagesRule.php.

Member Function Documentation

◆ getForbiddenClasses()

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

Definition at line 40 of file NoLegacySyntaxHighlighterUsagesRule.php.

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

◆ getHumanReadableRuleName()

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

Definition at line 29 of file NoLegacySyntaxHighlighterUsagesRule.php.

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

◆ getRelevantILIASVersion()

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

Definition at line 34 of file NoLegacySyntaxHighlighterUsagesRule.php.

34  : int
35  {
36  return 10;
37  }

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