use new-style constructors everywhere

This commit is contained in:
Shish
2014-03-22 09:00:59 +00:00
parent da29912646
commit 7b68d8ebfd
22 changed files with 38 additions and 38 deletions

View File

@@ -207,7 +207,7 @@ class ShimmieWebTestCase extends SCoreWebTestCase {
/** @private */
class TestFinder extends TestSuite {
function TestFinder($hint) {
function __construct($hint) {
if(strpos($hint, "..") !== FALSE) return;
// Select the test cases for "All" extensions.

View File

@@ -10,7 +10,7 @@ class SCoreWebReporter extends HtmlReporter {
var $fails;
var $exceptions;
public function SCoreReporter(Page $page) {
public function __construct(Page $page) {
$this->page = $page;
$this->fails = 0;
$this->exceptions = 0;