mirror of
https://github.com/elementor/hello-theme.git
synced 2026-07-26 12:26:54 +08:00
Some checks failed
Lint / PHPCS (push) Failing after 0s
PHPUnit / File Diff (push) Failing after 0s
Build / Build theme (push) Failing after 42s
Lint / ESLint (push) Failing after 1m58s
PHPUnit / PHPUnit - WordPress 6.8 - PHP version 7.4 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.9 - PHP version 7.4 (push) Has been skipped
PHPUnit / PHPUnit - WordPress latest - PHP version 7.4 (push) Has been skipped
PHPUnit / PHPUnit - WordPress nightly - PHP version 7.4 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.8 - PHP version 8.0 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.9 - PHP version 8.0 (push) Has been skipped
PHPUnit / PHPUnit - WordPress latest - PHP version 8.0 (push) Has been skipped
PHPUnit / PHPUnit - WordPress nightly - PHP version 8.0 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.8 - PHP version 8.1 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.9 - PHP version 8.1 (push) Has been skipped
PHPUnit / PHPUnit - WordPress latest - PHP version 8.1 (push) Has been skipped
PHPUnit / PHPUnit - WordPress nightly - PHP version 8.1 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.8 - PHP version 8.2 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.9 - PHP version 8.2 (push) Has been skipped
PHPUnit / PHPUnit - WordPress latest - PHP version 8.2 (push) Has been skipped
PHPUnit / PHPUnit - WordPress nightly - PHP version 8.2 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.8 - PHP version 8.3 (push) Has been skipped
PHPUnit / PHPUnit - WordPress 6.9 - PHP version 8.3 (push) Has been skipped
PHPUnit / PHPUnit - WordPress latest - PHP version 8.3 (push) Has been skipped
PHPUnit / PHPUnit - WordPress nightly - PHP version 8.3 (push) Has been skipped
PHPUnit / PHPUnit - Test Results (push) Successful in 2s
* Update PHPCS * Fix PHP lint errors
53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="WordPress.Elementor">
|
|
<description>Hello Elementor Theme 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="hello-elementor" />
|
|
|
|
<exclude-pattern>assets/</exclude-pattern>
|
|
<exclude-pattern>build/</exclude-pattern>
|
|
<exclude-pattern>node_modules/</exclude-pattern>
|
|
<exclude-pattern>tests/</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="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
|
|
<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="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction" />
|
|
<exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />
|
|
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
|
|
</rule>
|
|
|
|
<rule ref="WordPress.WP.DeprecatedFunctions">
|
|
<properties>
|
|
<property name="minimum_wp_version" value="6.0" />
|
|
</properties>
|
|
</rule>
|
|
|
|
<rule ref="WordPress.NamingConventions.ValidHookName">
|
|
<properties>
|
|
<property name="additionalWordDelimiters" value="/-" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|