cvs: pear /PHP_CompatInfo/CompatInfo Cli.php
| From: | Laurent Laville | Date: | Fri, 28 Mar 2008 16:30:37 +0000 |
| Subject: | cvs: pear /PHP_CompatInfo/CompatInfo Cli.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-51711@lists.php.net to get a copy of this message | ||
farell Fri Mar 28 16:30:37 2008 UTC
Modified files:
/pear/PHP_CompatInfo/CompatInfo Cli.php
Log:
fixed notice errors in CLI when parsing a directory and output to XML report
http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo/Cli.php?r1=1.47&r2=1.48&diff_format=u
Index: pear/PHP_CompatInfo/CompatInfo/Cli.php
diff -u pear/PHP_CompatInfo/CompatInfo/Cli.php:1.47 pear/PHP_CompatInfo/CompatInfo/Cli.php:1.48
--- pear/PHP_CompatInfo/CompatInfo/Cli.php:1.47 Mon Mar 24 14:59:03 2008
+++ pear/PHP_CompatInfo/CompatInfo/Cli.php Fri Mar 28 16:30:37 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.47 2008/03/24 14:59:03 farell Exp $
+ * @version CVS: $Id: Cli.php,v 1.48 2008/03/28 16:30:37 farell Exp $
* @link http://pear.php.net/package/PHP_CompatInfo
* @since File available since Release 0.8.0
*/
@@ -1117,12 +1117,15 @@
echo PHP_EOL;
if (isset($this->dir)) {
+ unset($info['ignored_files']);
+ unset($info['ignored_functions']);
+ unset($info['ignored_extensions']);
+ unset($info['ignored_constants']);
unset($info['max_version']);
unset($info['version']);
unset($info['extensions']);
unset($info['constants']);
unset($info['tokens']);
- unset($info['ignored_files']);
} else {
$info = array($this->file => $info);
}