diff --git a/.codeclimate.yml b/.codeclimate.yml index dcf25bd147f..7395ee88e39 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -18,7 +18,6 @@ ratings: - "includes/*" exclude_paths: - "tests/" -- "apigen/" - "sample-data/" - "i18n/" - "includes/api/legacy/" diff --git a/.gitattributes b/.gitattributes index d728da00bed..1b5a2bb019a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,4 @@ /.* export-ignore -apigen* export-ignore CODE_OF_CONDUCT.md export-ignore CHANGELOG.txt export-ignore composer.* export-ignore diff --git a/.gitignore b/.gitignore index 6d673efc6ba..4af7307f91e 100644 --- a/.gitignore +++ b/.gitignore @@ -24,9 +24,6 @@ none # Windows junk Thumbs.db -# ApiGen -/wc-apidocs/ - # Behat/CLI Tests tests/cli/installer tests/cli/composer.phar diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 988a1febcbe..0fd5723b7c4 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -23,7 +23,6 @@ checks: verify_property_names: false filter: excluded_paths: - - apigen/ - sample-data/ - i18n/ - includes/api/legacy/ diff --git a/Gruntfile.js b/Gruntfile.js index 3e3c56c17a4..4634f1106ea 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -197,7 +197,6 @@ module.exports = function( grunt ) { options: { potFilename: 'woocommerce.pot', exclude: [ - 'apigen/.*', 'vendor/.*', 'tests/.*', 'tmp/.*' @@ -230,7 +229,6 @@ module.exports = function( grunt ) { files: { src: [ '**/*.php', // Include all files - '!apigen/**', // Exclude apigen/ '!includes/libraries/**', // Exclude libraries/ '!node_modules/**', // Exclude node_modules/ '!tests/**', // Exclude tests/ @@ -305,7 +303,6 @@ module.exports = function( grunt ) { dist: { src: [ '**/*.php', // Include all php files. - '!apigen/**', '!includes/api/legacy/**', '!includes/libraries/**', '!node_modules/**', diff --git a/phpcs.xml b/phpcs.xml index 18262bba637..78dfe49efad 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -4,7 +4,6 @@ tests/cli/ - apigen/ includes/libraries/ includes/legacy/ includes/api/legacy/ diff --git a/tests/bin/phpcs.sh b/tests/bin/phpcs.sh index 3556b9137c2..205e63d386a 100755 --- a/tests/bin/phpcs.sh +++ b/tests/bin/phpcs.sh @@ -2,7 +2,7 @@ if [[ ${RUN_PHPCS} == 1 ]]; then CHANGED_FILES=`git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep \\\\.php | awk '{print}' ORS=' '` - IGNORE="tests/cli/,apigen/,includes/libraries/,includes/api/legacy/" + IGNORE="tests/cli/,includes/libraries/,includes/api/legacy/" if [ "$CHANGED_FILES" != "" ]; then echo "Running Code Sniffer."