HomePhabricator

Simplify local .phpcs.xml to an absolute minimum

Authored by thiemowmde on Mar 16 2018, 2:18 PM.

Description

Simplify local .phpcs.xml to an absolute minimum

There is barely any code in this repository anyway. Only one PHP file.
All these additional sniffs barely apply here, and make this rule set
hard to maintain.

The rule set appears so convoluted because this was (I believe) at some
point copied from the Wikibase extension.

This patch also fixes as many issues as possible (except one, which is
very much intentional).

Change-Id: I3d9e49facb4e985a5be85766a26908cbb4df4e32