From 359f89868235471918bd462d9da87a536e8623dd Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Mon, 21 Oct 2019 10:37:48 +0100 Subject: [PATCH] Fail for deprecations --- tests/phpt_test.php.inc | 2 +- tests/setup.php.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpt_test.php.inc b/tests/phpt_test.php.inc index 67222e8..8153dd6 100644 --- a/tests/phpt_test.php.inc +++ b/tests/phpt_test.php.inc @@ -8,7 +8,7 @@ class PEAR_PHPTest { var $_diffonly; var $_errors; - function PEAR_PHPTest($diffonly = false, $noStackCatch = false) + function __construct($diffonly = false, $noStackCatch = false) { $this->_diffonly = $diffonly; $this->_errors = array(); diff --git a/tests/setup.php.inc b/tests/setup.php.inc index b2415a9..0c7759b 100644 --- a/tests/setup.php.inc +++ b/tests/setup.php.inc @@ -1,4 +1,5 @@