Make testsiote compatible with php 7.2, 1st pass
[plcapi.git] / test / PHPUnit / TestFailure.php
index f30d451..6ce8329 100644 (file)
@@ -52,7 +52,7 @@ class PHPUnit_TestFailure {
      * @param  string
      * @access public
      */
-    function PHPUnit_TestFailure(&$failedTest, &$thrownException) {
+    function __construct(&$failedTest, &$thrownException) {
         $this->_failedTest      = &$failedTest;
         $this->_thrownException = &$thrownException;
     }