Common commit errors

From MediaWiki.org
Jump to navigation Jump to search

It's a fact of life, humans make mistakes. Some of them are easily machine identifiable, and in this case, post the migration to Git, it'd be nice to be able identify them so they can be corrected.

Having things checked in our git repository as post commit checks, with errors automatically noted

Common errors[edit]

  • If a string is surrounded with single quotes '', but contains {}, or even $, chances are they should have been "" so variables get replaced.