cvs: peardoc /fr/chapters standards.xml
| From: | Olivier Hill | Date: | Sun, 28 Mar 2004 18:12:02 +0000 |
| Subject: | cvs: peardoc /fr/chapters standards.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3122@lists.php.net to get a copy of this message | ||
ohill Sun Mar 28 13:12:02 2004 EDT
Modified files:
/peardoc/fr/chapters standards.xml
Log:
Synching with EN
* Changing PHPDoc URL
* Updating License File
* Adding PEAR QA ML
* Link to RFC
* Adding rules for line lenghts
http://cvs.php.net/diff.php/peardoc/fr/chapters/standards.xml?r1=1.15&r2=1.16&ty=u
Index: peardoc/fr/chapters/standards.xml
diff -u peardoc/fr/chapters/standards.xml:1.15 peardoc/fr/chapters/standards.xml:1.16
--- peardoc/fr/chapters/standards.xml:1.15 Thu Mar 25 19:04:55 2004
+++ peardoc/fr/chapters/standards.xml Sun Mar 28 13:12:01 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.15 $ -->
-<!-- EN-Revision: 1.3 Maintainer: thierry_bo Status: ready -->
+<!-- $Revision: 1.16 $ -->
+<!-- EN-Revision: 1.11 Maintainer: thierry_bo Status: ready -->
<chapter id="standards">
<title>Convention de codage</title>
<note>
@@ -11,7 +11,7 @@
</simpara>
</note>
<sect1 id="standards.indenting">
- <title>Indentation</title>
+ <title>Indentation et longueur de lignes</title>
<para>
Utilisez une indentation de 4 espaces, sans tabulation. Si vous utilisez
Emacs pour éditer le code PEAR, vous devez fixer le paramètre
@@ -37,6 +37,13 @@
set tabstop=4
</programlisting>
</para>
+ <para>
+ Il est recommandé que la longueur des lignes ne dépasse pas 75
à 85
+ caractères. Il n'y a pas de règles fixes par rapport aux retours
à la
+ ligne, mais vous pouvez utiliser votre bon jugement. En cas de doutes,
+ vous pouvez demander sur la <ulink url="mailto:&email.pear.qa;">liste de
distribution PEAR
+ Quality Assurance</ulink>.
+ </para>
</sect1>
<sect1 id="standards.control">
@@ -154,7 +161,7 @@
La documentation des classes incluse dans le code source doit suivre la
convention PHPDoc, similaire à celle de Javadoc. Pour plus d'information au
sujet de PHPDoc vous reporter à :
- <ulink url="&url.phpdoc;">&url.phpdoc;</ulink>
+ <ulink url="&url.phpdocumentor;">&url.phpdocumentor;</ulink>
</para>
<para>
Les commentaires non inclus dans la documentation sont vivement encouragés.
@@ -215,12 +222,12 @@
// +----------------------------------------------------------------------+
// | PHP version 4 |
// +----------------------------------------------------------------------+
-// | Copyright (c) 1997-2002 The PHP Group |
+// | Copyright (c) 1997-2004 The PHP Group |
// +----------------------------------------------------------------------+
-// | This source file is subject to version 2.0 of the PHP license, |
+// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
-// | available through the world-wide-web at |
-// | http://www.php.net/license/2_02.txt.
|
+// | available through the world-wide-web at the following url: |
+// | http://www.php.net/license/3_0.txt.
|
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |