Skip to content

Create Check Abstract Classes #7

Description

@mehulkaklotar

In addition to the Check interface, there will be 2 abstract classes as part of the infrastructure that provides the foundation for the concrete check classes developed in the plugin.

PHP_CodeSniffer_Check

This abstract class will be used to create concrete check classes that perform static analysis. This class will provide foundational methods that allow concrete classes to define code standards and sniffs to test the plugin code against. It will also contain an instance of PHP_CodeSniffer\Runner to run the tests and return the results to be processed.

Runtime_Check

This abstract class will be used to create concrete checks that perform runtime analysis. These checks will run elements of the plugin code on the server to test its behavior against an expected outcome.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssues for the overall plugin infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions