HomePhabricator

Add PHPCS with MediaWiki CodeSniffer rule set

Description

Add PHPCS with MediaWiki CodeSniffer rule set

I'm intentionally disabling two rules because the code style for if-else
is obviously very different in this code base:

if( … ) {

}
else {

}

The other sniffs do have so few exceptions (often a single one), I suggest
to go with the rule set and start enforcing it.

Change-Id: Iba194f8225ad55d80d63c333ee17c8655b713565

Details

Provenance
thiemowmdeAuthored on Mar 12 2019, 12:49 PM
Parents
rEEJB1f1edf695acc: Merge "Fixed typo "arrey""
Branches
Unknown
Tags
Unknown
ChangeId
Iba194f8225ad55d80d63c333ee17c8655b713565