cvs: pear /PHPUnit2/Extensions/MockObject Matcher.php /PHPUnit2/Extensions/MockObject/Builder InvocationMocker.php /PHPUnit2/Framework/Constraint
IsIdentical.php
| From: | Sebastian Bergmann | Date: | Fri, 17 Feb 2006 09:22:36 +0000 |
| Subject: | cvs: pear /PHPUnit2/Extensions/MockObject Matcher.php /PHPUnit2/Extensions/MockObject/Builder InvocationMocker.php /PHPUnit2/Framework/Constraint IsIdentical.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38299@lists.php.net to get a copy of this message | ||
sebastian Fri Feb 17 09:22:36 2006 UTC
Modified files:
/pear/PHPUnit2/Extensions/MockObject Matcher.php
/pear/PHPUnit2/Extensions/MockObject/Builder InvocationMocker.php
/pear/PHPUnit2/Framework/Constraint IsIdentical.php
Log:
Whitespace fixes.
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Extensions/MockObject/Matcher.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/PHPUnit2/Extensions/MockObject/Matcher.php
diff -u pear/PHPUnit2/Extensions/MockObject/Matcher.php:1.8
pear/PHPUnit2/Extensions/MockObject/Matcher.php:1.9
--- pear/PHPUnit2/Extensions/MockObject/Matcher.php:1.8 Wed Jan 4 07:04:51 2006
+++ pear/PHPUnit2/Extensions/MockObject/Matcher.php Fri Feb 17 09:22:36 2006
@@ -42,7 +42,7 @@
* Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
- * @version CVS: $Id: Matcher.php,v 1.8 2006/01/04 07:04:51 sebastian Exp $
+ * @version CVS: $Id: Matcher.php,v 1.9 2006/02/17 09:22:36 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 3.0.0
*/
@@ -155,7 +155,7 @@
}
}
- $this->invocationMatcher->invoked( $invocation );
+ $this->invocationMatcher->invoked($invocation);
try {
if ( $this->parametersMatcher !== NULL &&
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php
diff -u pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php:1.4
pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php:1.5
--- pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php:1.4 Wed Jan 4 07:04:51 2006
+++ pear/PHPUnit2/Extensions/MockObject/Builder/InvocationMocker.php Fri Feb 17 09:22:36 2006
@@ -42,7 +42,7 @@
* Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
- * @version CVS: $Id: InvocationMocker.php,v 1.4 2006/01/04 07:04:51 sebastian Exp $
+ * @version CVS: $Id: InvocationMocker.php,v 1.5 2006/02/17 09:22:36 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 3.0.0
*/
@@ -150,7 +150,7 @@
return $this;
}
- public function method( $constraint )
+ public function method($constraint)
{
if ($this->matcher->methodNameMatcher !== NULL) {
throw RuntimeException('Method name matcher is already defined, cannot
redefine');
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Framework/Constraint/IsIdentical.php?r1=1.3&r2=1.4&diff_format=u
Index: pear/PHPUnit2/Framework/Constraint/IsIdentical.php
diff -u pear/PHPUnit2/Framework/Constraint/IsIdentical.php:1.3
pear/PHPUnit2/Framework/Constraint/IsIdentical.php:1.4
--- pear/PHPUnit2/Framework/Constraint/IsIdentical.php:1.3 Sat Jan 21 12:01:00 2006
+++ pear/PHPUnit2/Framework/Constraint/IsIdentical.php Fri Feb 17 09:22:36 2006
@@ -42,7 +42,7 @@
* Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
- * @version CVS: $Id: IsIdentical.php,v 1.3 2006/01/21 12:01:00 sebastian Exp $
+ * @version CVS: $Id: IsIdentical.php,v 1.4 2006/02/17 09:22:36 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 3.0.0
*/
@@ -107,7 +107,7 @@
* going on while the evaluation failed.
* @throws PHPUnit2_Framework_ExpectationFailedException
*/
- public function fail( $other, $description )
+ public function fail($other, $description)
{
throw new PHPUnit2_Framework_ExpectationFailedException(
$description,