-
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.
Merge pull request #18 from threadi/feature/addGitHubAction
Feature/add GitHub action
- Loading branch information
Showing
4 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="AutoCategoryForPosts" namespace="AutoCategoryForPosts\AutoCategoryForPosts" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"> | ||
|
||
<description>Auto Category For Posts Coding Standards</description> | ||
|
||
<rule ref="WordPress-Docs"/> | ||
<rule ref="WordPress-Extra"/> | ||
<rule ref="WordPress"> | ||
<!-- Excluded in favour to match PSR-4-namings of classes. --> | ||
<exclude name="WordPress.Files.FileName"/> | ||
<!-- Exclude slow query --> | ||
<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_query"/> | ||
<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_key"/> | ||
<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_tax_query"/> | ||
<!-- Exclude override of globals --> | ||
<exclude name="WordPress.WP.GlobalVariablesOverride"/> | ||
<!-- Exclude direkt db query warnings --> | ||
<exclude name="WordPress.DB.DirectDatabaseQuery"/> | ||
</rule> | ||
</ruleset> |