Make WordPress Core

Changeset 49535 for trunk/composer.json


Ignore:
Timestamp:
11/07/2020 01:18:24 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r49306 r49535  
    1717        "wp-coding-standards/wpcs": "~2.3.0",
    1818        "phpcompatibility/phpcompatibility-wp": "^2.1.0",
    19         "phpunit/phpunit": "^7.5"
     19        "phpunit/phpunit": "^7.5",
     20        "ext-gd": "*"
    2021    },
    2122    "autoload-dev": {
Note: See TracChangeset for help on using the changeset viewer.