Completed
Push — spip-3.0 ( c45da6...b00f84 )
by cam
93:44 queued 82:27
created
ecrire/public/normaliser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
 }
72 72
 
73 73
 
74
+/**
75
+ * @param string $nom
76
+ */
74 77
 function phraser_logo_faux_filtres($nom)
75 78
 {
76 79
 	switch($nom) {
Please login to merge, or discard this patch.
ecrire/public/parametrer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
  * http://doc.spip.org/@tester_redirection
184 184
  *
185 185
  * @param string $fond
186
- * @param array $contexte
186
+ * @param string $contexte
187 187
  * @param string $connect
188 188
  * @return array|bool
189 189
  */
Please login to merge, or discard this patch.
ecrire/public/tracer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
 }
37 37
 
38 38
 // http://doc.spip.org/@trace_query_chrono
39
+/**
40
+ * @param string $m2
41
+ */
39 42
 function trace_query_chrono($m1, $m2, $query, $result, $serveur='')
40 43
 {
41 44
 	static $tt = 0, $nb=0;
Please login to merge, or discard this patch.
ecrire/xml/analyser_dtd.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
 }
140 140
 
141 141
 // http://doc.spip.org/@analyser_dtd_comment
142
+/**
143
+ * @param string $dtd
144
+ */
142 145
 function analyser_dtd_comment($dtd, &$dtc, $grammaire){
143 146
 	// ejecter les commentaires, surtout quand ils contiennent du code.
144 147
 	// Option /s car sur plusieurs lignes parfois
@@ -149,6 +152,9 @@  discard block
 block discarded – undo
149 152
 }
150 153
 
151 154
 // http://doc.spip.org/@analyser_dtd_pi
155
+/**
156
+ * @param string $dtd
157
+ */
152 158
 function analyser_dtd_pi($dtd, &$dtc, $grammaire){
153 159
 	if (!preg_match('/^<\?.*?>\s*(.*)$/s', $dtd, $m))
154 160
 		return -10;
@@ -156,6 +162,9 @@  discard block
 block discarded – undo
156 162
 }
157 163
 
158 164
 // http://doc.spip.org/@analyser_dtd_lexeme
165
+/**
166
+ * @param string $dtd
167
+ */
159 168
 function analyser_dtd_lexeme($dtd, &$dtc, $grammaire){
160 169
 
161 170
 	if (!preg_match(_REGEXP_ENTITY_DEF,$dtd, $m))
@@ -181,6 +190,9 @@  discard block
 block discarded – undo
181 190
 // ca ne depasse pas 3 ici.
182 191
 
183 192
 // http://doc.spip.org/@analyser_dtd_data
193
+/**
194
+ * @param string $dtd
195
+ */
184 196
 function analyser_dtd_data($dtd, &$dtc, $grammaire){
185 197
 
186 198
 	if (!preg_match(_REGEXP_INCLUDE_USE,$dtd,$m))
@@ -196,6 +208,9 @@  discard block
 block discarded – undo
196 208
 }
197 209
 
198 210
 // http://doc.spip.org/@analyser_dtd_notation
211
+/**
212
+ * @param string $dtd
213
+ */
199 214
 function analyser_dtd_notation($dtd, &$dtc, $grammaire){
200 215
 	if (!preg_match('/^<!NOTATION.*?>\s*(.*)$/s',$dtd, $m))
201 216
 		return -8;
@@ -204,6 +219,9 @@  discard block
 block discarded – undo
204 219
 }
205 220
 
206 221
 // http://doc.spip.org/@analyser_dtd_entity
222
+/**
223
+ * @param string $dtd
224
+ */
207 225
 function analyser_dtd_entity($dtd, &$dtc, $grammaire)
208 226
 {
209 227
 	if (!preg_match(_REGEXP_ENTITY_DECL, $dtd, $m))
@@ -253,6 +271,9 @@  discard block
 block discarded – undo
253 271
 // Fin du controle en finElement
254 272
 
255 273
 // http://doc.spip.org/@analyser_dtd_element
274
+/**
275
+ * @param string $dtd
276
+ */
256 277
 function analyser_dtd_element($dtd, &$dtc, $grammaire)
257 278
 {
258 279
 	if (!preg_match('/^<!ELEMENT\s+([^>\s]+)([^>]*)>\s*(.*)$/s', $dtd, $m))
@@ -295,6 +316,9 @@  discard block
 block discarded – undo
295 316
 
296 317
 
297 318
 // http://doc.spip.org/@analyser_dtd_attlist
319
+/**
320
+ * @param string $dtd
321
+ */
298 322
 function analyser_dtd_attlist($dtd, &$dtc, $grammaire)
299 323
 {
300 324
 	if (!preg_match('/^<!ATTLIST\s+(\S+)\s+([^>]*)>\s*(.*)/s', $dtd, $m))
Please login to merge, or discard this patch.
prive/formulaires/login.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
 include_spip('base/abstract_sql');
16 16
 
17
+/**
18
+ * @param string $cible
19
+ */
17 20
 function is_url_prive($cible){
18 21
 	include_spip('inc/filtres_mini');
19 22
 	$path = parse_url(tester_url_absolue($cible)?$cible:url_absolue($cible));
Please login to merge, or discard this patch.
ecrire/auth/ldap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
  * @param $new_pass
279 279
  * @param $id_auteur
280 280
  * @param string $serveur
281
- * @return bool
281
+ * @return string|boolean
282 282
  *    Informe du succès ou de l'echec du changement du mot de passe
283 283
  */
284 284
 function auth_ldap_modifier_pass($login, $new_pass, $id_auteur, $serveur=''){
Please login to merge, or discard this patch.
ecrire/balise/formulaire_.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
  * @see trouver_fond()
57 57
  * @param string $form
58 58
  *     Nom du formulaire
59
- * @return string|bool
59
+ * @return string|false
60 60
  *     - string : chemin du squelette
61 61
  *     - false : pas de squelette trouvé
62 62
 **/
Please login to merge, or discard this patch.
ecrire/base/dump.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
  * peut etre utilise pour l'import depuis xml,
312 312
  * ou la copie de base a base (mysql<->sqlite par exemple)
313 313
  *
314
- * @param array $tables
314
+ * @param string[] $tables
315 315
  * @param array $exclure_tables
316 316
  * @param string $serveur
317 317
  */
Please login to merge, or discard this patch.
ecrire/inc/charsets.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
  * @param string $charset
36 36
  *     Charset à charger.
37 37
  *     Par défaut (AUTO), utilise le charset du site
38
- * @return string|bool
38
+ * @return string|false
39 39
  *     - Nom du charset
40 40
  *     - false si le charset n'est pas décrit dans le répertoire charsets/
41 41
 **/
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
  * 
651 651
  * @param int $num
652 652
  *    Numéro de l'entité unicode
653
- * @return char
653
+ * @return string
654 654
  *    Caractère utf8 si trouvé, '' sinon
655 655
 **/
656 656
 function caractere_utf_8($num) {
Please login to merge, or discard this patch.