cvs: pear /PHP_CodeSniffer package.xml /PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels IncludeSystemSniff.php /PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels IncludeSystemUnitTest.inc

[email protected] ("Greg Sherwood") Mon, 05 May 2008 23:54:47 -0000
Newsgroups php.pear.cvs
Message-ID <cvssquiz1210031687@cvsserver>
squiz		Mon May  5 23:54:47 2008 UTC

  Modified files:              
    /pear/PHP_CodeSniffer	package.xml 
    /pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels	
                                                                        	IncludeSystemSniff.php 
    /pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels	
                                                                       	IncludeSystemUnitTest.inc 
  Log:
  MySource IncludeSystemSniff now ignores usage of ZipArchive
  
http://cvs.php.net/viewvc.cgi/pear/PHP_CodeSniffer/package.xml?r1=1.265&r2=1.266&diff_format=u
Index: pear/PHP_CodeSniffer/package.xml
diff -u pear/PHP_CodeSniffer/package.xml:1.265 pear/PHP_CodeSniffer/package.xml:1.266
--- pear/PHP_CodeSniffer/package.xml:1.265	Mon May  5 03:59:12 2008
+++ pear/PHP_CodeSniffer/package.xml	Mon May  5 23:54:46 2008
@@ -36,6 +36,7 @@
   - Moved Squiz InlineControlStructureSniff into Generic standard
   - PEAR standard now throws warnings for inline control structures
   - Squiz OutputBufferingIndentSniff now ignores the indentation of inline HTML
+  - MySource IncludeSystemSniff now ignores usage of ZipArchive
   - Removed "function" from error messages for Generic function brace sniffs (feature request #13820)
  </notes>
  <contents>
http://cvs.php.net/viewvc.cgi/pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php?r1=1.15&r2=1.16&diff_format=u
Index: pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php
diff -u pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:1.15 pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:1.16
--- pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php:1.15	Thu Jan 31 02:39:32 2008
+++ pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php	Mon May  5 23:54:47 2008
@@ -9,7 +9,7 @@
  * @author    Greg Sherwood <[email protected]>
  * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
  * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
- * @version   CVS: $Id: IncludeSystemSniff.php,v 1.15 2008/01/31 02:39:32 squiz Exp $
+ * @version   CVS: $Id: IncludeSystemSniff.php,v 1.16 2008/05/05 23:54:47 squiz Exp $
  * @link      http://pear.php.net/package/PHP_CodeSniffer
  */
 
@@ -46,6 +46,7 @@
                         'init',
                         'pdo',
                         'util',
+			'ziparchive',
                        );
 
 
http://cvs.php.net/viewvc.cgi/pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc?r1=1.9&r2=1.10&diff_format=u
Index: pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc
diff -u pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc:1.9 pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc:1.10
--- pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc:1.9	Thu Jan 31 02:39:32 2008
+++ pear/PHP_CodeSniffer/CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc	Mon May  5 23:54:47 2008
@@ -67,4 +67,7 @@
 Widget::includeWidget('AbstractContainer');
 class MyWidget extends AbstractContainerWidgetType {}
 class MyOtherWidget extends BookWidgetType {}
-?>
\ No newline at end of file
+
+$zip = new ZipArchive();
+$res = $zip->open($path, ZipArchive::CREATE); 
+?>