cvs: peardoc /en/package/php/php-codesniffer intro.xml
| From: | Greg Sherwood | Date: | Mon, 07 Jul 2008 04:53:12 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-codesniffer intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10968@lists.php.net to get a copy of this message | ||
squiz Mon Jul 7 04:53:12 2008 UTC
Modified files:
/peardoc/en/package/php/php-codesniffer intro.xml
Log:
Updated package description so it reads better
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-codesniffer/intro.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/php/php-codesniffer/intro.xml
diff -u peardoc/en/package/php/php-codesniffer/intro.xml:1.3
peardoc/en/package/php/php-codesniffer/intro.xml:1.4
--- peardoc/en/package/php/php-codesniffer/intro.xml:1.3 Tue Jan 30 23:10:31 2007
+++ peardoc/en/package/php/php-codesniffer/intro.xml Mon Jul 7 04:53:12 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.php.php-codesniffer.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -9,7 +9,7 @@
<refsect1>
<title>Description</title>
<para>
- PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code to
detect violations of a defined set of coding standards. It is an essential development tool that
ensures that your code remains clean and consistent. It can even help prevent some common semantic
errors made by developers.
+ PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP and
JavaScript code to detect violations of a defined coding standard. It is an essential development
tool that ensures your code remains clean and consistent. It can also help prevent some common
semantic errors made by developers.
</para>
<para>
A coding standard, in PHP_CodeSniffer, is a collection of <emphasis>sniff</emphasis>
files. Each sniff file checks one part of the coding standard only. Multiple coding standards can be
used within PHP_CodeSniffer, so that the one installation can be used across multiple projects. The
default coding standard used by PHP_CodeSniffer is the <emphasis>PEAR</emphasis> coding
standard.