Skip to content

Use coding standards consistently and switch to PSR across all repos #16

Open
@SteelWagstaff

Description

@SteelWagstaff
  • Tech team reviews Ricardo's coding-standards proposal: https://docs.google.com/document/d/1TcltiK7mamenA1lbahyFmiEKDt_pBTcn2ZovnFZ-Ro8/edit#heading=h.f3twoiy72t97 and finalizes any desired changes to the rule set in pressbooks/coding standards
  • Make changes to coding standards rule set and release new version of coding-standards (if needed)
  • Bump coding standards dependency in all repos (if needed) and remove all unneeded repo-level rule exceptions
  • Fix or document fixes needed to pass standards in each repo
  • Gradually refactor our plugins to be PSR compatible instead of WP/HumanMade

Goal: Review all repos. Make sure that they inherit our coding standards and general ruleset to the greatest degree possible. Only override ruleset at individual repo when absolutely needed, and with clear plan to remove/replace over time. For example, these overrides should happen in coding-standards instead of pressbooks/pressbooks if they're overrides that the team agrees upon: https://github.com/pressbooks/pressbooks/blob/e341b3a92838f061bc8e77c1a2c690d98b1e84b5/phpcs.ruleset.xml#L3-L10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions