Completed
Push — spip-2.1 ( b6b097 )
by cam
42:28 queued 30:44
created
ecrire/urls/propres.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 // Retire les marqueurs de type dans une URL propre ancienne maniere
63 63
 
64 64
 // http://doc.spip.org/@retirer_marqueurs_url_propre
65
+/**
66
+ * @param string $url_propre
67
+ */
65 68
 function retirer_marqueurs_url_propre($url_propre) {
66 69
 	if (preg_match(',^[+][-](.*?)[-][+]$,', $url_propre, $regs)) {
67 70
 		return $regs[1];
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.
ecrire/xml/sax.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
 include_spip('xml/interfaces');
17 17
 
18 18
 // http://doc.spip.org/@xml_debutElement
19
+/**
20
+ * @param IndenteurXML $phraseur
21
+ */
19 22
 function xml_debutElement($phraseur, $name, $attrs)
20 23
 {
21 24
 	$depth = $phraseur->depth;
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
 }
49 52
 
50 53
 // http://doc.spip.org/@xml_finElement
54
+/**
55
+ * @param IndenteurXML $phraseur
56
+ */
51 57
 function xml_finElement($phraseur, $name, $fusion_bal=false)
52 58
 {
53 59
 	$ouv = $phraseur->ouvrant[$phraseur->depth];
@@ -72,6 +78,9 @@  discard block
 block discarded – undo
72 78
 }
73 79
 
74 80
 // http://doc.spip.org/@xml_textElement
81
+/**
82
+ * @param IndenteurXML $phraseur
83
+ */
75 84
 function xml_textElement($phraseur, $data)
76 85
 {
77 86
 	$depth = $phraseur->depth;
@@ -80,6 +89,9 @@  discard block
 block discarded – undo
80 89
 	  : htmlspecialchars($data,ENT_QUOTES);
81 90
 }
82 91
 
92
+/**
93
+ * @param IndenteurXML $phraseur
94
+ */
83 95
 function xml_piElement($phraseur, $target, $data)
84 96
 {
85 97
 	$depth = $phraseur->depth;
@@ -97,6 +109,9 @@  discard block
 block discarded – undo
97 109
 
98 110
 
99 111
 // http://doc.spip.org/@xml_defautElement
112
+/**
113
+ * @param IndenteurXML $phraseur
114
+ */
100 115
 function xml_defaultElement($phraseur, $data)
101 116
 {
102 117
 	$depth = $phraseur->depth;
@@ -128,6 +143,9 @@  discard block
 block discarded – undo
128 143
 }
129 144
 
130 145
 // http://doc.spip.org/@coordonnees_erreur
146
+/**
147
+ * @param string $msg
148
+ */
131 149
 function coordonnees_erreur($phraseur, $msg)
132 150
 {
133 151
 	$entete_length = substr_count($phraseur->entete,"\n");
Please login to merge, or discard this patch.
prive/formulaires/editer_mot.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -96,6 +96,12 @@
 block discarded – undo
96 96
 
97 97
 
98 98
 // http://doc.spip.org/@ajouter_nouveau_mot
99
+/**
100
+ * @param integer $id_groupe
101
+ * @param string $table
102
+ * @param integer $table_id
103
+ * @param integer $id
104
+ */
99 105
 function ajouter_nouveau_mot($id_groupe, $table, $table_id, $id_mot, $id)
100 106
 {
101 107
 	if (un_seul_mot_dans_groupe($id_groupe)) {
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.
squelettes-dist/formulaires/oubli.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 }
20 20
 
21 21
 // http://doc.spip.org/@message_oubli
22
+/**
23
+ * @param string $param
24
+ */
22 25
 function message_oubli($email, $param)
23 26
 {
24 27
 	$r = formulaires_oubli_mail($email);
Please login to merge, or discard this patch.
squelettes-dist/formulaires/signature.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -361,6 +361,9 @@
 block discarded – undo
361 361
 // De plus, ca supprime les doublons "en attente de validation".
362 362
 
363 363
 // http://doc.spip.org/@signature_entrop
364
+/**
365
+ * @param string $where
366
+ */
364 367
 function signature_entrop($where)
365 368
 {
366 369
 	$query = sql_select('id_signature, statut', 'spip_signatures', $where,'',"date_time desc");
Please login to merge, or discard this patch.
ecrire/req/mysql.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -315,8 +315,8 @@  discard block
 block discarded – undo
315 315
  * @param string|array $select   Champs sélectionnés
316 316
  * @param string|array $from     Tables sélectionnées
317 317
  * @param string|array $where    Contraintes
318
- * @param string|array $groupby  Regroupements
319
- * @param string|array $orderby  Tris
318
+ * @param string $groupby  Regroupements
319
+ * @param string $orderby  Tris
320 320
  * @param string $limit          Limites de résultats
321 321
  * @param string|array $having   Contraintes posts sélections
322 322
  * @param string $serveur        Nom de la connexion
@@ -881,7 +881,7 @@  discard block
 block discarded – undo
881 881
  * @param int $row_number  Position. Déplacer le pointeur à cette ligne
882 882
  * @param string $serveur  Nom de la connexion
883 883
  * @param bool $requeter   Inutilisé
884
- * @return bool True si déplacement réussi, false sinon.
884
+ * @return boolean|null True si déplacement réussi, false sinon.
885 885
 **/
886 886
 function spip_mysql_seek($r, $row_number, $serveur='',$requeter=true) {
887 887
 	if ($r and mysqli_num_rows($r)) return mysqli_data_seek($r,$row_number);
Please login to merge, or discard this patch.
ecrire/action/changer_mode_document.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
 }
28 28
 
29 29
 // http://doc.spip.org/@action_virtualiser_post
30
+/**
31
+ * @param string[] $r
32
+ */
30 33
 function action_virtualiser_post($r, $url)
31 34
 {
32 35
 	$url = preg_replace(",^ *https?://$,i", "", rtrim($url));
Please login to merge, or discard this patch.