mediawiki-extensions-Visual.../.phpcs.xml
Umherirrender 67a191f41a build: Move exclude from composer.json to .phpcs.xml
Exclude the whole lib/ve/* folder instead of the node_modules folder

The mediawiki ruleset sets exclude the node_modules folder in root
since version 19.0.0 (ab87d2eb60)

Change-Id: I585cc0524c179b2a9b472300a39d2d7c7b3ba383
2024-10-18 20:26:46 +02:00

20 lines
565 B
XML

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>5</severity>
</rule>
<rule ref="MediaWiki.Classes.FullQualifiedClassName">
<severity>5</severity>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.BeforeFirst">
<severity>5</severity>
</rule>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
<exclude-pattern type="relative">^lib/ve/*</exclude-pattern>
</ruleset>