-
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
Description
Check_Context class will be implemented to provide the context of the plugin being checked. An instance of the Check_context will be available for all checks classes that are run. This will extend the Plugin_Context class and contain all the same methods. This allows checks to use the Check_Context instance to retrieve useful information about the plugin being tested such as the plugin basename, path and URL.
Acceptance Criteria
- The class file
Check_Context.phpexists withinincludes/Checker - Class should extend the
Plugin_Contextclass - Methods for accessing plugin's main file, path, URL, basename should be there
- PHPUnit tests covering
- Instance of the class is same as compared to
Plugin_Contextinstance
- Instance of the class is same as compared to
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