mirror of
https://ghproxy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-07-21 12:16:59 +08:00
59 lines
2.3 KiB
XML
59 lines
2.3 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="WordPress.Elementor">
|
|
<description>Elementor Coding Standard</description>
|
|
|
|
<arg name="parallel" value="8" />
|
|
<!-- Colorize the output -->
|
|
<arg value="-colors" />
|
|
<!-- Show sniff codes in all reports -->
|
|
<arg value="ns" />
|
|
<!-- Scan only PHP files -->
|
|
<arg name="extensions" value="php" />
|
|
|
|
<config name="text_domain" value="pojo-accessibility" />
|
|
|
|
<exclude-pattern>build/</exclude-pattern>
|
|
<exclude-pattern>node_modules/</exclude-pattern>
|
|
<exclude-pattern>tmp/</exclude-pattern>
|
|
<exclude-pattern>vendor/</exclude-pattern>
|
|
|
|
<!-- Scan all files in directory -->
|
|
<file>.</file>
|
|
|
|
<rule ref="WordPress.Security" />
|
|
|
|
<rule ref="WordPress-Extra">
|
|
<exclude name="Generic.Commenting.DocComment.MissingShort" />
|
|
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
|
|
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
|
|
<exclude name="Generic.Functions.CallTimePassByReference" />
|
|
<exclude name="Squiz.Commenting.ClassComment.Missing" />
|
|
<exclude name="Squiz.Commenting.FileComment.Missing" />
|
|
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
|
|
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="Squiz.Commenting.VariableComment.Missing" />
|
|
<exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeOpen" />
|
|
<exclude name="Squiz.PHP.EmbeddedPhp.ContentAfterOpen" />
|
|
<exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeEnd" />
|
|
<exclude name="Squiz.PHP.EmbeddedPhp.ContentAfterEnd" />
|
|
<exclude name="Squiz.WhiteSpace.LanguageConstructSpacing" />
|
|
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
|
|
<exclude name="WordPress.NamingConventions.PrefixAllGlobals" />
|
|
<exclude name="WordPress.WP.I18n" />
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
|
|
</rule>
|
|
|
|
<rule ref="WordPress.WP.DeprecatedFunctions">
|
|
<properties>
|
|
<property name="minimum_supported_version" value="6.6" />
|
|
</properties>
|
|
</rule>
|
|
|
|
<rule ref="WordPress.NamingConventions.ValidHookName">
|
|
<properties>
|
|
<property name="additionalWordDelimiters" value="/-" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|