Use tabs to indent xml

Also exclude node_modules from build process, use correct notation for
utf-8

Change-Id: Ibade4be71ba677d67491862e8eeaba25a7f14d40
This commit is contained in:
Umherirrender 2017-06-22 22:45:35 +02:00
parent ac04c1fd9f
commit b974f01303
2 changed files with 9 additions and 8 deletions

View file

@ -5,7 +5,7 @@
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {
"lint": "parallel-lint --exclude vendor .",
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
"phpcs": "phpcs -p -s",
"fix": "phpcbf",
"test": [

View file

@ -1,10 +1,11 @@
<?xml version="1.0"?>
<ruleset name="MediaWiki">
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="encoding" value="utf8"/>
<arg name="extensions" value="php,php5,inc,sample"/>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>lib/</exclude-pattern>
<exclude-pattern>.git</exclude-pattern>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="encoding" value="UTF-8"/>
<arg name="extensions" value="php,php5,inc,sample"/>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>lib/</exclude-pattern>
<exclude-pattern>.git</exclude-pattern>
</ruleset>