Skip to content

Commit

Permalink
Fail for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpott committed Oct 21, 2019
1 parent 76bc31e commit 359f898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpt_test.php.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions tests/setup.php.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
error_reporting(E_ALL);
require_once dirname(__FILE__) . '/phpt_test.php.inc';
$phpunit = new PEAR_PHPTest(true);
require_once dirname(dirname(__FILE__)) . '/Archive/Tar.php';

0 comments on commit 359f898

Please sign in to comment.