Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

QA update needed #50

@jrfnl

Description

@jrfnl

This plugin has basically been dormant for the past three years, but should still work.

To test this and potentially tweak the plugin for compatibility with newer WP versions, the build checks would need to start passing again.

So, to fulfill this prelim requirement, I would identify the following actions:

  1. Either update the dev-lib submodule or remove it in favour of having a native Travis script.
    👉 As this plugin does not have unit tests, nearly all of the scripts being run via dev-lib are redundant and create builds which don't test anything new.
    IMHO all that is needed is:
    • linting against each supported PHP version
    • running PHPCS against WPCS and PHPCompatibility on one PHP version
      Those two tasks can be just as easily accomplished without the overhead of the dev-lib submodule.
  2. Create a custom PHPCS ruleset which adds the recommended properties for WPCS.
  3. Update the code to comply with the latest stable WPCS guidelines.

I'll happily send in a PR for this, but need a decision on point 1, which is why I've created this issue to discuss this.

/cc @westonruter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions