forked from Cavemanon/cavepaintings
use new-style constructors everywhere
This commit is contained in:
@@ -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.
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user