Index: tests/phpunit/includes/speed-trap-listener.php
===================================================================
--- tests/phpunit/includes/speed-trap-listener.php	(revision 35761)
+++ tests/phpunit/includes/speed-trap-listener.php	(working copy)
@@ -60,6 +60,18 @@
     }
 
     /**
+     * A warning occurred.
+     *
+     * @param PHPUnit_Framework_Test    $test
+     * @param PHPUnit_Framework_Warning $e
+     * @param float                     $time
+     * @since Method available since Release 5.1.0
+     */
+    public function addWarning(PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time)
+    {
+    }
+
+    /**
      * A failure occurred.
      *
      * @param PHPUnit_Framework_Test                 $test
