mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-14 11:16:16 +00:00
cf1da49904
This causes phpcs to emit invalid JSON when the --report=json flag is set and no issues are found, which breaks editor plugins (atom-linter-phpcs in my case). Add this flag in composer.json instead. Change-Id: Ibb0b4c084e25e06be72389f1d4998804cfd53295
12 lines
342 B
XML
12 lines
342 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="MediaWiki">
|
|
<file>.</file>
|
|
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.LineLength"/>
|
|
</rule>
|
|
<arg name="encoding" value="utf8"/>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="colors"/>
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
</ruleset>
|