diff --git a/.distignore b/.distignore index ef9b681..374a93f 100644 --- a/.distignore +++ b/.distignore @@ -5,6 +5,8 @@ .editorconfig .travis.yml circle.yml +phpcs.xml.dist +phpunit.xml.dist bin/ features/ utils/ diff --git a/.gitignore b/.gitignore index fb1c9c4..0438f17 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ vendor/ *.zip *.tar.gz *.log +phpunit.xml +phpcs.xml +.phpcs.xml \ No newline at end of file diff --git a/composer.json b/composer.json index 173ec24..befb939 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "wp-cli/wp-cli": "^2" }, "require-dev": { - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "config": { "process-timeout": 7200, diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 4252e09..935ed94 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,60 +1,54 @@ - - Custom ruleset for WP-CLI + + Custom ruleset for WP-CLI profile-command - - + - + . - - */.git/* - */ci/* - */features/* - */packages/* - */tests/* - */utils/* - */vendor/* - - - - + + - - - - - - - - + + - + + + + + + + + + + - - - */php/commands/src/CLI_Command.php - - - - - - - - - - - - + + + + + +