mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
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:
parent
ac04c1fd9f
commit
b974f01303
|
@ -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": [
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="MediaWiki">
|
||||
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<file>.</file>
|
||||
<arg name="encoding" value="utf8"/>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue