Go to file
Sergey Biryukov 001c6498e8 Build/Test Tools: Add support for PHPUnit 7.x.
* Create an abstract `WP_UnitTestCase_Base` class to share between PHPUnit 7.x and older versions.
* Add a speed-trap loader to determine which `SpeedTrapListener` class needs to be loaded for the current PHPUnit version.
* Remove unnecessary `PHPUnit\Util\Test` and `PHPUnit_Util_Getopt` inheritances.
* Update Travis CI config to use PHPUnit 7.x for PHP 7.1, 7.2, and nightly PHP versions.

Props jipmoors, netweb, desrosj, ayeshrajans, soulseekah, SergeyBiryukov.
See #43218.

git-svn-id: https://develop.svn.wordpress.org/trunk@44701 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-28 14:10:24 +00:00
src Install/Upgrade: After [44451], update translator comments to include the new placeholder. 2019-01-27 14:45:42 +00:00
tests Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
tools Build tools: Allow building WordPress to src. 2018-12-24 13:28:22 +00:00
.editorconfig General: Instruct file editors not to trim trailing whitespace in markdown files. 2018-03-20 22:14:53 +00:00
.gitignore Build/Test Tools: Update .gitignore to exclude twentynineteen and twentysixteen. 2019-01-09 13:44:30 +00:00
.jshintrc Build tools: Fix the travis:js build. 2018-12-24 13:53:11 +00:00
.npmrc Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
.nvmrc Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
.travis.yml Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
appveyor.yml Build Tools: Don't send AppVeyor notifications on Slack on repeated successful builds. 2019-01-15 05:48:46 +00:00
composer.json Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
composer.lock Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
Gruntfile.js TinyMCE: retire wp-tinymce.php and remove pre-compression of wp-tinymce.js. 2019-01-18 19:50:19 +00:00
jsdoc.conf.json Build Tools: Fix JSDoc configuration include paths. 2018-06-14 12:45:06 +00:00
package-lock.json TinyMCE: retire wp-tinymce.php and remove pre-compression of wp-tinymce.js. 2019-01-18 19:50:19 +00:00
package.json TinyMCE: retire wp-tinymce.php and remove pre-compression of wp-tinymce.js. 2019-01-18 19:50:19 +00:00
phpcs.xml.dist Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:40:16 +00:00
phpunit.xml.dist Build/Test Tools: Add support for PHPUnit 7.x. 2019-01-28 14:10:24 +00:00
webpack.config.js Build tools: Allow building WordPress to src. 2018-12-24 13:28:22 +00:00
wp-cli.yml Build/Tests: Default to running unit tests from src. 2019-01-09 10:09:02 +00:00
wp-config-sample.php General: Replace "Happy blogging" with "Happy publishing". 2019-01-08 04:29:06 +00:00
wp-tests-config-sample.php Tests: Revert [44509]. 2019-01-09 11:13:03 +00:00