cvs: peardoc /en/package/php/php-codesniffer faq.xml
| From: | Greg Sherwood | Date: | Mon, 07 Jul 2008 04:52:13 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-codesniffer faq.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10967@lists.php.net to get a copy of this message | ||
squiz Mon Jul 7 04:52:13 2008 UTC
Modified files:
/peardoc/en/package/php/php-codesniffer faq.xml
Log:
Brought a couple of examples up-to-date
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-codesniffer/faq.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/php/php-codesniffer/faq.xml
diff -u peardoc/en/package/php/php-codesniffer/faq.xml:1.2
peardoc/en/package/php/php-codesniffer/faq.xml:1.3
--- peardoc/en/package/php/php-codesniffer/faq.xml:1.2 Tue Jan 16 05:03:46 2007
+++ peardoc/en/package/php/php-codesniffer/faq.xml Mon Jul 7 04:52:13 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.php.php-codesniffer.faq">
<refnamediv>
<refname>FAQ</refname>
@@ -28,7 +28,7 @@
<refsect1>
<title>Does PHP_CodeSniffer parse my code to ensure it will execute?</title>
<para>
- No. PHP_CodeSniffer does not actually parse your code, and so cannot tell if your code contains
parse errors. PHP_CodeSniffer may return an incorrect number of errors if checking code that does
contain parse errors.
+ No. PHP_CodeSniffer does not actually parse your code, and so cannot accurately tell if your
code contains parse errors. PHP_CodeSniffer does know about some parse errors and will warn you if
it finds code that it is unable to sniff correctly due to a suspected parse error. However, as there
is no actual parsing taking place, PHP_CodeSniffer may return an incorrect number of errors when
checking code that does contain parse errors.
</para>
<tip>
<para>
@@ -48,7 +48,7 @@
<refsect1>
<title>I don't agree with your coding standards! Can I make PHP_CodeSniffer enforce my
own?</title>
<para>
- Yes. At its core, PHP_CodeSniffer is just a framework for enforcing coding standards. We release
PHP_CodeSniffer with a couple of sample coding standards to help developers get started on projects
where they do not have a standard. If you want to write your own standards, read the <link
linkend="package.php.php-codesniffer.coding-standard-tutorial">tutorial on creating
coding standards</link>.
+ Yes. At its core, PHP_CodeSniffer is just a framework for enforcing coding standards. We release
PHP_CodeSniffer with some sample coding standards to help developers get started on projects where
there is no standard defined. If you want to write your own standard, read the <link
linkend="package.php.php-codesniffer.coding-standard-tutorial">tutorial on creating
coding standards</link>.
</para>
</refsect1>