Make WordPress Core

Changeset 35767


Ignore:
Timestamp:
12/04/2015 04:40:10 PM (9 years ago)
Author:
ocean90
Message:

Unit Tests: Implement addWarning() method in SpeedTrapListener.

The method was introduced in PHPUnit 5.1.0, released today.

Fixes #34846.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/speed-trap-listener.php

    r35226 r35767  
    6161
    6262    /**
     63     * A warning occurred.
     64     *
     65     * @param PHPUnit_Framework_Test    $test
     66     * @param PHPUnit_Framework_Warning $e
     67     * @param float                     $time
     68     * @since Method available since Release 5.1.0
     69     */
     70    public function addWarning(PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time)
     71    {
     72    }
     73
     74    /**
    6375     * A failure occurred.
    6476     *
Note: See TracChangeset for help on using the changeset viewer.