2 <ruleset name="MediaWiki">
3 <rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
4 <rule ref="MediaWiki.NamingConventions.PrefixedGlobalFunctions">
6 <property name="ignoreList" type="array" value="bfNormalizeTitleStrReplace,bfNormalizeTitleStrTr,cdbShowHelp,codepointToUtf8,compare_point,cssfilter,escapeSingleString,findAuxFile,findFiles,getEscapedProfileUrl,getFileCommentFromSourceWiki,getFileUserFromSourceWiki,hexSequenceToUtf8,mccGetHelp,mccShowUsage,mimeTypeMatch,moveToExternal,NothingFunction,NothingFunctionData,resolveStub,resolveStubs,showUsage,splitFilename,utf8ToCodepoint,utf8ToHexSequence" />
9 <rule ref="MediaWiki.NamingConventions.ValidGlobalName">
11 <property name="ignoreList" type="array" value="$IP,$messageMemc,$parserMemc" />
15 <arg name="encoding" value="utf8"/>
16 <arg name="extensions" value="php,php5,inc,sample"/>
17 <rule ref="Generic.Files.LineLength">
18 <exclude-pattern>*/languages/messages/Messages*.php</exclude-pattern>
20 <rule ref="PSR2.Methods.MethodDeclaration.Underscore">
21 <exclude-pattern>*/includes/StubObject.php</exclude-pattern>
23 <exclude-pattern>node_modules</exclude-pattern>
24 <exclude-pattern>vendor</exclude-pattern>
25 <exclude-pattern>extensions</exclude-pattern>
26 <exclude-pattern>skins</exclude-pattern>