* Add WordPress version selection to Docker PHP test suite
* Remove guard for old WordPress version
It was producing an error message when valid versions like “5.3” are selected:
bin/install-wp-tests.sh: line 22: [: 5.3: integer expression expected
I removed it since disallowing older versions doesn't really add any value now.
* Bump image version to trigger rebuild
* Fix existing WordPress version not being replaced
The install-wp-tests.sh script does not install WordPress if a previous installation is detected.
To enable WP version switching, the ENTRYPOINT removes previous files to ensure the installation starts from a clean state.
* Partially revert abd8ab80dc7ef6b57316636d467b511a07d0c5d3
The typo fix was accidentally included in this commit.
* Fix installation routine running every time
A typo was causing the installation routine to run on each use.
* Add reset option to bin/install-wp-tests.sh
* Fix logic issues and made reset more verbose
* Add testing suite removal on reset
* Change behaviour of test install script to reset by default
* Silence install-wp-tests.sh reset commands
* Restore composer install on WooCommerce plugin
Previously removed in c26db640d6
* Remove direct require of wc-install.php
In some contexts, this causes phpunit to halt because of the early exit call in wc-install.php:
defined( 'ABSPATH' ) || exit;
* Add temporary composer 1 downgrade before installing WooCommerce
* Update dependencies in prep for Composer 2.x.
* Rollback jetpack autoloader update.
* Restore range versions for composer dependencies, regenerate lock with Composer 1.x.
* Fix PSR-4 Classes (https://github.com/woocommerce/woocommerce-admin/pull/5473)
* PSR-4 class names need to match their filename.
Remove underscores in classnames.
* Fix reported class name in deprecation notice.
* Fix comments.
* We don't need composer dependencies in core WC test setup.
* Update composer lockfile using version 2.x.
* Temporarily turn off error display.
Function deprecation notices are breaking tests.
Add core to the release
no need to re-run docs
simplify build command
add gh release script
fix errant comment
fix errant comment
force add feature-config.php
gitattributes
moar attributes
add language files
* Only build pushes to master branch.
* Fix branch detection in CI.
* Remove string interpolation from Travis branch name check.
* Try using PR branch variable as string.
* Revert "Revert "Update to new Snackbar component and notice store""
* Update uploader component to use createNotice
* Bump required WP version to 5.2
* Update required PHP and WP versions in plugin header