WordPress.org

Make WordPress Core

Changeset 51584


Ignore:
Timestamp:
08/09/2021 01:04:38 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Remove Unicode character from PHPUnit version check message.

Not all CLI tools can handle Unicode characters or non-system specific line endings well, so this type of CLI messaging should always be written with the optimal cross-platform, cross-CLI tool end-user experience in mind.

Follow-up to [51581].

Props jrf.
See #53363.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/bootstrap.php

    r51581 r51584  
    4040if ( version_compare( $phpunit_version, '5.7.21', '<' ) ) {
    4141    printf(
    42         'Error: Looks like you’re using PHPUnit %s. WordPress requires at least PHPUnit 5.7.21.' . PHP_EOL,
     42        "Error: Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.7.21." . PHP_EOL,
    4343        $phpunit_version
    4444    );
Note: See TracChangeset for help on using the changeset viewer.