summaryrefslogtreecommitdiff
path: root/ext/tidy
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2015-03-31 16:10:22 +0200
committerNikita Popov <nikic@php.net>2015-03-31 17:55:27 +0200
commitdb76b708cf14ed2794d26600c0e49df8aa36fbea (patch)
tree043fe016f4319fea36c3208af06c227ceb7bb459 /ext/tidy
parentd252c9f8324a1fac35aac01b7de7cc800ea76865 (diff)
downloadphp-git-db76b708cf14ed2794d26600c0e49df8aa36fbea.tar.gz
Deprecate PHP 4 constructors
Diffstat (limited to 'ext/tidy')
-rw-r--r--ext/tidy/tests/027.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/tests/027.phpt b/ext/tidy/tests/027.phpt
index 8d9f66eaf7..cd984dd9e7 100644
--- a/ext/tidy/tests/027.phpt
+++ b/ext/tidy/tests/027.phpt
@@ -10,7 +10,7 @@ Bug: tidy segfaults with markup=false
abstract class BaseClass {
private static $tidyconfig;
- public function BaseClass() {
+ public function __construct() {
$this->tidyconfig = array(
'indent' => false,
'clean' => true,
@@ -38,7 +38,7 @@ abstract class BaseClass {
}
class ChildClass extends BaseClass {
- public function ChildClass() {
+ public function __construct() {
parent::__construct();
}