svn: /pear/peardoc/trunk/en/package/php/php-codesniffer/ advanced-usage.xml
[email protected] (Greg Sherwood)
| Newsgroups | php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
squiz Wed, 09 Sep 2009 03:25:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288181
Log:
Fixed duplicate example titles
Changed paths:
U pear/peardoc/trunk/en/package/php/php-codesniffer/advanced-usage.xml
Modified: pear/peardoc/trunk/en/package/php/php-codesniffer/advanced-usage.xml
===================================================================
--- pear/peardoc/trunk/en/package/php/php-codesniffer/advanced-usage.xml 2009-09-09 03:13:22 UTC (rev 288180)
+++ pear/peardoc/trunk/en/package/php/php-codesniffer/advanced-usage.xml 2009-09-09 03:25:53 UTC (rev 288181)
@@ -64,7 +64,7 @@
<simpara>
You can also tell PHP_CodeSniffer to ignore a file using a special comment inserted at the top of the file. This will stop the file being checked even if it does not match the ignore pattern.
</simpara>
- <example><info><title>Ignoring parts of a file</title></info>
+ <example><info><title>Ignoring a file using a comment</title></info>
<screen>
<![CDATA[
<?php
@@ -84,7 +84,7 @@
<para>
Some parts of your code may be unable to conform to your coding standard. For example, you might have to break your standard to integrate with an external library or web service. To stop PHP_CodeSniffer generating errors for this code, you can wrap it in special comments. PHP_CodeSniffer will then hide all errors and warnings that are generated for these lines of code.
</para>
- <example><info><title>Ignoring parts of a file</title></info>
+ <example><info><title>Ignoring parts of a file using comments</title></info>
<screen>
<![CDATA[
$xmlPackage = new XMLPackage;