diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-11-07 13:18:24 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2020-11-07 13:18:24 +0000 |
commit | f2302a3112893d8966c202860609fd1259e2e503 (patch) | |
tree | 263b77b1628fe670b8b09f387d329335ad60419c /composer.json | |
parent | a104c26283973219d2e83d4c46220b1b16ec575c (diff) | |
download | wordpress-f2302a3112893d8966c202860609fd1259e2e503.tar.gz wordpress-f2302a3112893d8966c202860609fd1259e2e503.zip |
Build/Test Tools: Check if all the required PHP extensions are loaded before running the test suite.
Add the GD extension as a hard requirement.
This improves the reliability of the test suite and ensures that if the test infrastructure changes in the future and a platform requirement such as GD accidentally gets removed, the tests fail with an appropriate error message.
Follow-up to [48592].
Props ayeshrajans, jrf, johnbillion.
Fixes #50640.
git-svn-id: https://develop.svn.wordpress.org/trunk@49535 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 4997175bfe..f2a9503e80 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,8 @@ "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0", "wp-coding-standards/wpcs": "~2.3.0", "phpcompatibility/phpcompatibility-wp": "^2.1.0", - "phpunit/phpunit": "^7.5" + "phpunit/phpunit": "^7.5", + "ext-gd": "*" }, "autoload-dev": { "files": [ |