cvs: pear /PHP_CompatInfo CompatInfo.php
| From: | Laurent Laville | Date: | Sat, 02 Sep 2006 09:42:01 +0000 |
| Subject: | cvs: pear /PHP_CompatInfo CompatInfo.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41950@lists.php.net to get a copy of this message | ||
farell Sat Sep 2 09:42:01 2006 UTC
Modified files:
/pear/PHP_CompatInfo CompatInfo.php
Log:
more PEAR CS (from PHP_CodeSniffer 0.0.4)
http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/CompatInfo.php?r1=1.31&r2=1.32&diff_format=u
Index: pear/PHP_CompatInfo/CompatInfo.php
diff -u pear/PHP_CompatInfo/CompatInfo.php:1.31 pear/PHP_CompatInfo/CompatInfo.php:1.32
--- pear/PHP_CompatInfo/CompatInfo.php:1.31 Sat Aug 26 13:31:15 2006
+++ pear/PHP_CompatInfo/CompatInfo.php Sat Sep 2 09:42:01 2006
@@ -15,7 +15,7 @@
* @author Davey Shafik <davey@php.net>
* @author Laurent Laville <pear@laurent-laville.org>
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: CompatInfo.php,v 1.31 2006/08/26 13:31:15 farell Exp $
+ * @version CVS: $Id: CompatInfo.php,v 1.32 2006/09/02 09:42:01 farell Exp $
* @link http://pear.php.net/package/PHP_CompatInfo
* @since File available since Release 0.7.0
*/
@@ -271,14 +271,12 @@
$earliest_version = $this->earliest_version;
$extensions = array();
$constants = array();
- $options = array_merge(
- array(
- 'file_ext' => array('php', 'php4',
'inc', 'phtml'),
- 'is_string' => false,
- 'debug' => false,
- 'ignore_files' => array()
- ),
- $options);
+ $options = array_merge(array(
+ 'file_ext' => array('php', 'php4', 'inc',
'phtml'),
+ 'is_string' => false,
+ 'debug' => false,
+ 'ignore_files' => array()
+ ), $options);
$options['ignore_files'] = array_map('strtolower',
$options['ignore_files']);
foreach ($files as $file) {
if ($options['is_string'] === false) {