-
Notifications
You must be signed in to change notification settings - Fork 113
Create Check interface class #6
Copy link
Copy link
Closed
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Milestone
Description
Metadata
Metadata
Assignees
Labels
InfrastructureIssues for the overall plugin infrastructureIssues for the overall plugin infrastructure[Type] EnhancementA suggestion for improvement of an existing featureA suggestion for improvement of an existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
The Check interface will be implemented by all concrete check classes. Using an interface helps to define required methods for checks and enforce those on concrete check classes. This ensures that these methods are available to use by other structures in the plugin reliably. Currently, the interface will likely define a single run method but this may be expanded on in the future.
Acceptance Criteria
Checkinterface class is createdCheckinterface contains a single publicrun()method$resultparameter$resultparameter is an instance of theCheck_Resultclasspublic function run( Check_Result $result )Check_Resultclass does not exist in the repo, create an emptyCheck_Resultclass as a scaffold to be implemented in Create Check_Result class #11