File: /var/www/html/wpdeskera/wp-content/plugins/elementor-addon-components/phpcs.xml
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Elementor Addon Components" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>WPCS pour le plugin Elementor Addon Components</description>
<arg name="parallel" value="8" />
<!-- Pb avec la version PHP supprime les erreur Deprecated -->
<ini name="error_reporting" value="E_ALL & ~E_DEPRECATED" />
<!-- Exclude WP Core folders and files from being checked. -->
<exclude-pattern>/docroot/wp-admin/*</exclude-pattern>
<exclude-pattern>/docroot/wp-includes/*</exclude-pattern>
<exclude-pattern>/docroot/wp-*.php</exclude-pattern>
<exclude-pattern>/docroot/index.php</exclude-pattern>
<exclude-pattern>/docroot/xmlrpc.php</exclude-pattern>
<!-- <exclude-pattern>/docroot/wp-content/plugins/*</exclude-pattern> -->
<!-- Exclude the Composer Vendor directory. -->
<exclude-pattern>/vendor/*</exclude-pattern>
<!-- Exclude the Node Modules directory. -->
<exclude-pattern>/node_modules/*</exclude-pattern>
<!-- Exclude CSS files. -->
<exclude-pattern>*/css/*</exclude-pattern>
<!-- Exclude Javascript files. -->
<exclude-pattern>*/js/*</exclude-pattern>
<rule ref="WordPress-Extra">
<exclude name="Generic.Commenting.DocComment.MissingShort" />
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
<!-- <exclude name="Squiz.WhiteSpace.OperatorSpacing" /> -->
<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="WordPress.Arrays.MultipleStatementAlignment" />
<exclude name="WordPress.CSRF.NonceVerification.NoNonceVerification" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<!-- <exclude name="WordPress.Security.EscapeOutput.OutputNotEscaped"/>
<exclude name="WordPress.Security.EscapeOutput.UnsafePrintingFunction" /> -->
<exclude name="WordPress.Security.NonceVerification.NoNonceVerification"/>
<exclude name="WordPress.Security.NonceVerification.Missing"/>
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
<exclude name="WordPress.WP.I18n.NonSingularStringLiteralSingle" />
<exclude name="WordPress.WP.I18n.NonSingularStringLiteralPlural" />
<!-- <exclude name="WordPress.XSS.EscapeOutput.OutputNotEscaped" /> -->
<exclude name="WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet" />
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
</rule>
<!-- <rule ref="PSR12">
<exclude name="PSR12.Functions.NullableTypeDeclaration" />
</rule> -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="eac-components"/>
</properties>
</rule>
<!-- <rule ref="WordPress.WP.DeprecatedFunctions">
<properties>
<property name="minimum_supported_version" value="8.3" />
</properties>
</rule> -->
<rule ref="WordPress.NamingConventions.ValidHookName">
<properties>
<property name="additionalWordDelimiters" value="/-" />
</properties>
</rule>
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\r\n"/>
</properties>
</rule>
</ruleset>