Remove PHP4 constructors from Unit Tests

If you are subclassing these classes in your own tests, you'll need to update your code.

Props johnbillion
See #31982



git-svn-id: https://develop.svn.wordpress.org/trunk@33123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2015-07-08 16:04:11 +00:00
parent 3762069f89
commit 08d5df5f44
2 changed files with 0 additions and 21 deletions

View File

@ -33,13 +33,6 @@ class MockAction {
$this->debug = $debug;
}
/**
* PHP4 constructor.
*/
public function MockAction( $debug = 0 ) {
self::__construct( $debug );
}
function reset() {
$this->events = array();
}
@ -151,13 +144,6 @@ class testXMLParser {
$this->parse($in);
}
/**
* PHP4 constructor.
*/
public function testXMLParser( $in ) {
self::__construct( $in );
}
function parse($in) {
$parse = xml_parse($this->xml, $in, sizeof($in));
if (!$parse) {

View File

@ -29,13 +29,6 @@ class WPProfiler {
$this->profile = array();
}
/**
* PHP4 constructor.
*/
public function WPProfiler() {
self::__construct();
}
function start($name) {
$time = $this->microtime();