Skip to content

Commit

Permalink
Composer: use YoastCS 1.1.0+
Browse files Browse the repository at this point in the history
* Includes adding the PHPCS XSD to the custom ruleset which should now be valid as the minimum PHPCS requirement has gone up to PHPCS 3.3.2.
* Includes removing the DealerDirect Composer PHPCS plugin which now comes automatically with YoastCS.
  • Loading branch information
jrfnl committed Dec 18, 2018
1 parent 88095dc commit 37a5e93
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 69 deletions.
5 changes: 4 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0"?>
<ruleset name="Yoast SEO ACF Analysis">
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Yoast SEO ACF Analysis"
xsi:noNamespaceSchemaLocation="./vendor/squizlabs/php_codesniffer/phpcs.xsd">

<description>Yoast SEO ACF Analysis Coding Standards</description>

<!--
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
"brain/monkey": "2.*",
"phpunit/phpunit": "5.*",
"roave/security-advisories": "dev-master",
"yoast/yoastcs": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0"
"yoast/yoastcs": "^1.1.0"
},
"autoload": {
"classmap": [ "inc" ]
Expand Down
Loading

0 comments on commit 37a5e93

Please sign in to comment.