cvs: pear /PHPUnit2/Framework Assert.php

From: Date: Thu, 26 May 2005 08:43:17 +0000
Subject: cvs: pear /PHPUnit2/Framework Assert.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32127@lists.php.net to get a copy of this message
sebastian Thu May 26 04:43:17 2005 EDT Modified files: /pear/PHPUnit2/Framework Assert.php Log: E_STRICT fix. http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.42&r2=1.43&ty=u Index: pear/PHPUnit2/Framework/Assert.php diff -u pear/PHPUnit2/Framework/Assert.php:1.42 pear/PHPUnit2/Framework/Assert.php:1.43 --- pear/PHPUnit2/Framework/Assert.php:1.42 Tue Apr 26 06:56:32 2005 +++ pear/PHPUnit2/Framework/Assert.php Thu May 26 04:43:14 2005 @@ -15,7 +15,7 @@ * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Assert.php,v 1.42 2005/04/26 10:56:32 sebastian Exp $ + * @version CVS: $Id: Assert.php,v 1.43 2005/05/26 08:43:14 sebastian Exp $ * @link http://pear.php.net/package/PHPUnit2 * @since File available since Release 2.0.0 */ @@ -368,7 +368,7 @@ } if (is_object($actual)) { - $result = is_a($actual, $expected); + $result = $actual instanceof $expected; } else { $result = (gettype($actual) == $expected); }

« previous php.pear.cvs (#32127) next »