WordPress.org

Make WordPress Core

Changeset 40854


Ignore:
Timestamp:
05/30/17 22:07:59 (6 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Add a missing class to the PHPUnit 6 back compat.

See #39822

Merges [40853] to the 4.7 branch.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/tests/phpunit/includes/phpunit6-compat.php

    r40547 r40854  
    77    class_alias( 'PHPUnit\Framework\ExpectationFailedException', 'PHPUnit_Framework_ExpectationFailedException' ); 
    88    class_alias( 'PHPUnit\Framework\Error\Notice',               'PHPUnit_Framework_Error_Notice' ); 
     9    class_alias( 'PHPUnit\Framework\Error\Warning',              'PHPUnit_Framework_Error_Warning' ); 
    910    class_alias( 'PHPUnit\Framework\Test',                       'PHPUnit_Framework_Test' ); 
    1011    class_alias( 'PHPUnit\Framework\Warning',                    'PHPUnit_Framework_Warning' ); 
Note: See TracChangeset for help on using the changeset viewer.