mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-13 17:36:54 +00:00
Do not die on phpcs run
Loading the php shim with composer autoload on phpcs run breaks phpcs Bug: T168738 Change-Id: I6577a34fcb3d20f905e7120d39506bffc50b2fa2
This commit is contained in:
parent
9479b86955
commit
3fc6f2afb4
|
@ -14,9 +14,6 @@
|
||||||
"composer/installers": "1.*,>=1.0.1"
|
"composer/installers": "1.*,>=1.0.1"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"files": [
|
|
||||||
"ImageMap.php"
|
|
||||||
],
|
|
||||||
"classmap": [
|
"classmap": [
|
||||||
"ImageMap_body.php"
|
"ImageMap_body.php"
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
|
<exclude name="MediaWiki.Commenting.FunctionComment" />
|
||||||
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc"/>
|
<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>
|
</ruleset>
|
||||||
|
|
Loading…
Reference in a new issue