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:
Umherirrender 2017-07-27 22:04:23 +02:00
parent 9479b86955
commit 3fc6f2afb4
2 changed files with 4 additions and 7 deletions

View file

@ -14,9 +14,6 @@
"composer/installers": "1.*,>=1.0.1"
},
"autoload": {
"files": [
"ImageMap.php"
],
"classmap": [
"ImageMap_body.php"
]

View file

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