Page MenuHomePhabricator

Make a contributing.md file or add to README, steps to contribute to Mediawiki Codesniffer
Open, Needs TriagePublic

Description

Add guidelines to contribute code to Mediawiki Codesniffer. There are a few subtleties like making _pass and _fail tests for Sniffs, making sure Codesniffer passes phpcs script ( otherwise main build breaks ), etc. This can be added as a subheading in the readme itself.

Event Timeline

Aashaka created this task.Apr 24 2016, 1:59 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 24 2016, 1:59 AM

I think this sort of documentation should be at https://www.mediawiki.org/wiki/Manual:PHP_Codesniffer (and not be WMF-specific). At the moment there's https://www.mediawiki.org/wiki/Continuous_integration/PHP_CodeSniffer but that's meant to be just about how to add phpcs to CI (a lot of info was removed from that page a couple of years ago).