ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Scripts\PHPStan\Rules\NoLegacyConfirmationUsagesRule Class Reference
+ Inheritance diagram for ILIAS\Scripts\PHPStan\Rules\NoLegacyConfirmationUsagesRule:
+ Collaboration diagram for ILIAS\Scripts\PHPStan\Rules\NoLegacyConfirmationUsagesRule:

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

Member Function Documentation

◆ getForbiddenClasses()

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

Reimplemented from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule.

Definition at line 40 of file NoLegacyConfirmationUsagesRule.php.

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

◆ getHumanReadableRuleName()

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

Reimplemented from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule.

Definition at line 29 of file NoLegacyConfirmationUsagesRule.php.

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

◆ getRelevantILIASVersion()

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

Reimplemented from ILIAS\Scripts\PHPStan\Rules\LegacyClassUsageRule.

Definition at line 34 of file NoLegacyConfirmationUsagesRule.php.

34 : int
35 {
36 return 10;
37 }

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