HomePhabricator

Replace wikibase-codesniffer with mediawiki-codesniffer

Description

Replace wikibase-codesniffer with mediawiki-codesniffer

This copies the phpcs.xml from Wikibase/ruleset.xml
and removes unused rules and exclusions that don't apply
to this extension.
It fixes one warning in a php unit test.

Bug: T268830
Change-Id: I2f544495bdf4aea114f9c0fe92bea8538eb3064b

Details

Provenance
Tonina_Zhelyazkova_WMDEAuthored on Dec 1 2020, 11:34 AM
Parents
rEWLC155e7f70b3c3: Merge "Update getEntityIdParser() calls"
Branches
Unknown
Tags
Unknown
ChangeId
I2f544495bdf4aea114f9c0fe92bea8538eb3064b