cvs: pear /PHP_CompatInfo/CompatInfo Cli.php
| From: | Laurent Laville | Date: | Fri, 28 Mar 2008 17:11:46 +0000 |
| Subject: | cvs: pear /PHP_CompatInfo/CompatInfo Cli.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-51713@lists.php.net to get a copy of this message | ||
farell Fri Mar 28 17:11:46 2008 UTC
Modified files:
/pear/PHP_CompatInfo/CompatInfo Cli.php
Log:
add forgotten summary in XML report when parsing a directory with CLI
http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo/Cli.php?r1=1.48&r2=1.49&diff_format=u
Index: pear/PHP_CompatInfo/CompatInfo/Cli.php
diff -u pear/PHP_CompatInfo/CompatInfo/Cli.php:1.48 pear/PHP_CompatInfo/CompatInfo/Cli.php:1.49
--- pear/PHP_CompatInfo/CompatInfo/Cli.php:1.48 Fri Mar 28 16:30:37 2008
+++ pear/PHP_CompatInfo/CompatInfo/Cli.php Fri Mar 28 17:11:45 2008
@@ -15,7 +15,7 @@
* @author Davey Shafik <davey@php.net>
* @author Laurent Laville <pear@laurent-laville.org>
* @license http://www.php.net/license/3_01.txt
PHP License 3.01
- * @version CVS: $Id: Cli.php,v 1.48 2008/03/28 16:30:37 farell Exp $
+ * @version CVS: $Id: Cli.php,v 1.49 2008/03/28 17:11:45 farell Exp $
* @link http://pear.php.net/package/PHP_CompatInfo
* @since File available since Release 0.8.0
*/
@@ -1117,6 +1117,11 @@
echo PHP_EOL;
if (isset($this->dir)) {
+ $sum = array('version' => $info['version'],
+ 'extensions' => $info['extensions'],
+ 'constants' => $info['constants'],
+ 'tokens' => $info['tokens']);
+ $info = array($this->dir . '/*' => $sum) + $info;
unset($info['ignored_files']);
unset($info['ignored_functions']);
unset($info['ignored_extensions']);