Make WordPress Core


Ignore:
Timestamp:
08/07/2021 11:44:00 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Remove the copied-in PHPUnit 9.x MockObject files.

As the version constraints for PHPUnit now allow the tests to be run on PHPUnit 8.x and 9.x, these files are no longer needed.

Follow-up to [48957], [49037], [51544], [51559-51574].

Props jrf.
See #46149.

File:
1 edited

Legend:

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

    r51574 r51575  
    4646    exit( 1 );
    4747}
    48 
    49 // Register a custom autoloader for the PHPUnit 9.x Mockobject classes for compatibility with PHP 8.0.
    50 require_once __DIR__ . '/class-mockobject-autoload.php';
    51 spl_autoload_register( 'MockObject_Autoload::load', true, true );
    5248
    5349// Check that the PHPUnit Polyfills autoloader exists.
Note: See TracChangeset for help on using the changeset viewer.