File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 4747 rm -fr build
4848 rm -fr releases
4949 rm -fr languages
50- rm -fr changelog.md
5150 rm -fr svn
51+ rm changelog.md
5252 rm readme.md
5353 cd ..
5454 zip -r -q ${{ github.event.repository.name }}_${{ github.ref_name }}.zip ${{ github.event.repository.name }}/* -x "*/.git/*" "*/.github/*" "*/blocks/*/src/*" "*/doc/*" "*/phpcs.xml" "*/composer.json" "*/composer.lock" "*/package.json" "*/package-lock.json" "*/.gitignore" "*/vendor/*" "*/node_modules/*" "/.editorconfig"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <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" >
3+
4+ <description >Auto Category For Posts Coding Standards</description >
5+
6+ <rule ref =" WordPress-Docs" />
7+ <rule ref =" WordPress-Extra" />
8+ <rule ref =" WordPress" >
9+ <!-- Excluded in favour to match PSR-4-namings of classes. -->
10+ <exclude name =" WordPress.Files.FileName" />
11+ <!-- Exclude slow query -->
12+ <exclude name =" WordPress.DB.SlowDBQuery.slow_db_query_meta_query" />
13+ <exclude name =" WordPress.DB.SlowDBQuery.slow_db_query_meta_key" />
14+ <exclude name =" WordPress.DB.SlowDBQuery.slow_db_query_tax_query" />
15+ <!-- Exclude override of globals -->
16+ <exclude name =" WordPress.WP.GlobalVariablesOverride" />
17+ <!-- Exclude direkt db query warnings -->
18+ <exclude name =" WordPress.DB.DirectDatabaseQuery" />
19+ </rule >
20+ </ruleset >
You can’t perform that action at this time.
0 commit comments