Skip to content

Commit

Permalink
Wordpress sniffs are in repository WordPress-Coding-Standards/WordPre…
Browse files Browse the repository at this point in the history
…ss-Coding-Standards

Widget now in different file, so except no longer needed
  • Loading branch information
NeilWJames committed Feb 22, 2019
1 parent b680106 commit cf5e3f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require-dev": {
"phpunit/phpunit": "~7.4",
"wp-cli/wp-cli": "~2.0",
"wp-coding-standards/wpcs": "~2.0",
"WordPress-Coding-Standards/WordPress-Coding-Standards": "~2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"php-coveralls/php-coveralls": "*",
"squizlabs/php_codesniffer": "*"
Expand Down
4 changes: 0 additions & 4 deletions phpcs.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
<rule ref="WordPress-Docs" />
<rule ref="WordPress-Extra" />

<rule ref="Generic.Files.OneObjectStructurePerFile.MultipleFound">
<exclude-pattern>includes/class-wp-document-revisions-front-end.php</exclude-pattern>
</rule>

<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/vendor/autoload.php</exclude-pattern>
</ruleset>

0 comments on commit cf5e3f5

Please sign in to comment.