-
Notifications
You must be signed in to change notification settings - Fork 83
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
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
- A new
Checkinterface class is created - The
Checkinterface contains a single publicrun()method - The run method accepts a single
$resultparameter - The
$resultparameter is an instance of theCheck_Resultclass - Full method -
public function run( Check_Result $result ) - If the
Check_Resultclass does not exist in the repo, create an emptyCheck_Resultclass as a scaffold to be implemented in Create Check_Result class #11
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