mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-14 18:15:57 +00:00
Update mediawiki/codesniffer to 0.7.2
Short array syntax will be used in follow ups to keep this patch set small Change-Id: Ibfb09fb93a827d2c23060e79d287c963fe149770
This commit is contained in:
parent
c2fbb735a1
commit
62d8ae19d3
|
@ -6,7 +6,7 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"mediawiki/mediawiki-codesniffer": "0.5.1",
|
||||
"mediawiki/mediawiki-codesniffer": "0.7.2",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2"
|
||||
},
|
||||
"license": "GPL-2.0+",
|
||||
|
@ -34,7 +34,7 @@
|
|||
"scripts": {
|
||||
"fix": "phpcbf",
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor",
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"phpcs -p -s"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="Generic.Arrays.DisallowLongArraySyntax.Found"/>
|
||||
</rule>
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php,php5,inc"/>
|
||||
<arg name="encoding" value="utf8"/>
|
||||
<arg name="encoding" value="UTF-8"/>
|
||||
<exclude-pattern>vendor</exclude-pattern>
|
||||
<exclude-pattern>node_modules</exclude-pattern>
|
||||
</ruleset>
|
||||
|
|
Loading…
Reference in a new issue