cvs: peardoc /en/package/php/php-codesniffer intro.xml
| From: | Greg Sherwood | Date: | Tue, 16 Jan 2007 05:01:19 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-codesniffer intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9315@lists.php.net to get a copy of this message | ||
squiz Tue Jan 16 05:01:19 2007 UTC
Modified files:
/peardoc/en/package/php/php-codesniffer intro.xml
Log:
Changed 'programlisting' sections to 'screen' sections + minor corrections.
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-codesniffer/intro.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/php/php-codesniffer/intro.xml
diff -u peardoc/en/package/php/php-codesniffer/intro.xml:1.1
peardoc/en/package/php/php-codesniffer/intro.xml:1.2
--- peardoc/en/package/php/php-codesniffer/intro.xml:1.1 Fri Jan 12 05:18:32 2007
+++ peardoc/en/package/php/php-codesniffer/intro.xml Tue Jan 16 05:01:19 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.php.php-codesniffer.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -18,10 +18,12 @@
<refsect1>
<title>Example</title>
- <para>To check a file against the PEAR coding standard, simply specify the file's
location.</para>
+ <para>
+ To check a file against the PEAR coding standard, simply specify the file's location.
+ </para>
<example>
<title>Checking a file with PHP_CodeSniffer</title>
- <programlisting>
+ <screen>
<![CDATA[
$ phpcs /path/to/code/myfile.php
@@ -36,12 +38,14 @@
88 | ERROR | Line not indented correctly; expected 9 spaces but found 6
--------------------------------------------------------------------------------
]]>
- </programlisting>
+ </screen>
</example>
- <para>Or, if you wish to check an entire directory, you can specify the directory location
instead of a file.</para>
+ <para>
+ Or, if you wish to check an entire directory, you can specify the directory location instead of
a file.
+ </para>
<example>
<title>Checking a directory with PHP_CodeSniffer</title>
- <programlisting>
+ <screen>
<![CDATA[
$ phpcs /path/to/code
@@ -64,7 +68,7 @@
21 | WARNING | Equals sign not aligned with surrounding assignments
--------------------------------------------------------------------------------
]]>
- </programlisting>
+ </screen>
</example>
</refsect1>
</refentry>