-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Uses WP-Hook-DI
- Loading branch information
Showing
14 changed files
with
449 additions
and
5,983 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="WordPress Plugin"> | ||
<config name="minimum_supported_wp_version" value="6.0" /> | ||
<config name="testVersion" value="8.0-"/> | ||
<rule ref="PHPCompatibilityWP"/> | ||
<rule ref="WordPress-Core"> | ||
<!-- a couple of excldes since I dont want any issues with composer packages --> | ||
<!-- <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen"/> --> | ||
<!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis" /> --> | ||
<!-- <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis" /> --> | ||
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" /> | ||
<exclude name="WordPress.Files.FileName.InvalidClassFileName" /> | ||
</rule> | ||
<rule ref="WordPress-Docs"> | ||
<type>warning</type> | ||
</rule> | ||
<rule ref="WordPress-Extra" /> | ||
<!-- <rule ref="VariableAnalysis" /> --> | ||
<rule ref="WordPress.WP.I18n"> | ||
<properties> | ||
<!-- CONFIGURE HERE YOUR text-domain --> | ||
<property name="text_domain" type="array" value="" /> | ||
</properties> | ||
</rule> | ||
<rule ref="Squiz.PHP.CommentedOutCode.Found"> | ||
<severity>0</severity> | ||
</rule> | ||
<ruleset name="WordPress Theme"> | ||
<config name="minimum_supported_wp_version" value="6.0"/> | ||
<config name="testVersion" value="8.0-"/> | ||
|
||
<rule ref="Oblak"/> | ||
<rule ref="Oblak-Advanced"/> | ||
|
||
|
||
<!-- CONFIGURE HERE THE PATHS YOU WANT TO CHECK --> | ||
<file>src</file> | ||
|
||
<!-- Show sniff codes in all reports --> | ||
<arg value="sp"/> <!-- Show sniff and progress --> | ||
<arg name="parallel" value="8"/> <!-- Enables parallel processing when available for faster results. --> | ||
<arg name="colors"/> | ||
<arg name="extensions" value="php"/> | ||
|
||
<!-- Configure here the paths you want to IGNORE --> | ||
<exclude-pattern>/docker/*</exclude-pattern> | ||
<exclude-pattern>/node_modules/*</exclude-pattern> | ||
<exclude-pattern>/tests/*</exclude-pattern> | ||
<exclude-pattern>/vendor/*</exclude-pattern> | ||
|
||
<rule ref="WordPress"> | ||
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent" /> | ||
</rule> | ||
|
||
<rule ref="Generic.WhiteSpace.ScopeIndent"> | ||
<properties> | ||
<property name="indent" value="4"/> | ||
<property name="tabIndent" value="false"/> | ||
</properties> | ||
</rule> | ||
<rule ref="Generic.WhiteSpace.DisallowTabIndent" /> | ||
<file>src/</file> | ||
</ruleset> |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.