Skip to content

Commit

Permalink
Merge branch 'master' into feature/feature-plugin-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jul 8, 2019
2 parents fa91edb + b64fcc7 commit da99bc8
Show file tree
Hide file tree
Showing 126 changed files with 2,254 additions and 7,329 deletions.
1 change: 0 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ratings:
- "includes/*"
exclude_paths:
- "tests/"
- "apigen/"
- "sample-data/"
- "i18n/"
- "includes/api/legacy/"
Expand Down
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.* export-ignore
apigen* export-ignore
CODE_OF_CONDUCT.md export-ignore
CHANGELOG.txt export-ignore
composer.* export-ignore
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ none
# Windows junk
Thumbs.db

# ApiGen
/wc-apidocs/

# Behat/CLI Tests
tests/cli/installer
tests/cli/composer.phar
Expand Down
1 change: 0 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ checks:
verify_property_names: false
filter:
excluded_paths:
- apigen/
- sample-data/
- i18n/
- includes/api/legacy/
Expand Down
14 changes: 3 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ php:
env:
- WP_VERSION=latest WP_MULTISITE=0

# Additional tests against stable PHP (min recommended version is 5.6) and past supported versions of WP
# Additional tests against stable PHP (min version is 5.6)
# and code coverage report.
matrix:
fast_finish: true
Expand Down Expand Up @@ -56,18 +56,10 @@ before_script:
fi
- composer install --no-dev
- |
# Install WP Test suite, install PHPUnit globally if needed:
# Install WP Test suite, install PHPUnit globally:
if [[ ! -z "$WP_VERSION" ]]; then
bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
# PHP 5.2 does not have composer, do not try to run it.
if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
composer global require "phpunit/phpunit=4.8.*|6.5.*"
fi
fi
- |
# Install wpcs globally if needed:
if [[ ${RUN_PHPCS} == 1 ]] && [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
composer require woocommerce/woocommerce-sniffs
composer global require "phpunit/phpunit=4.8.*|6.5.*"
fi
script:
Expand Down
23 changes: 0 additions & 23 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ module.exports = function( grunt ) {
options: {
potFilename: 'woocommerce.pot',
exclude: [
'apigen/.*',
'vendor/.*',
'tests/.*',
'tmp/.*'
Expand Down Expand Up @@ -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/
Expand All @@ -247,13 +245,6 @@ module.exports = function( grunt ) {
stdout: true,
stderr: true
},
apidocs: {
command: [
'vendor/bin/apigen generate -q',
'cd apigen',
'php hook-docs.php'
].join( '&&' )
},
e2e_test: {
command: 'npm run --silent test:single tests/e2e-tests/' + grunt.option( 'file' )
},
Expand Down Expand Up @@ -292,14 +283,6 @@ module.exports = function( grunt ) {
}
}
},

// Clean the directory.
clean: {
apidocs: {
src: [ 'wc-apidocs' ]
}
},

// PHP Code Sniffer.
phpcs: {
options: {
Expand All @@ -308,7 +291,6 @@ module.exports = function( grunt ) {
dist: {
src: [
'**/*.php', // Include all php files.
'!apigen/**',
'!includes/api/legacy/**',
'!includes/libraries/**',
'!node_modules/**',
Expand Down Expand Up @@ -380,11 +362,6 @@ module.exports = function( grunt ) {
'concat'
]);

grunt.registerTask( 'docs', [
'clean:apidocs',
'shell:apidocs'
]);

grunt.registerTask( 'contributors', [
'prompt:contributors',
'shell:contributors'
Expand Down
22 changes: 0 additions & 22 deletions apigen.neon

This file was deleted.

226 changes: 0 additions & 226 deletions apigen/hook-docs.php

This file was deleted.

13 changes: 0 additions & 13 deletions apigen/theme-woocommerce/404.latte

This file was deleted.

Loading

0 comments on commit da99bc8

Please sign in to comment.