Completed
Push — spip-3.0 ( c45da6...b00f84 )
by cam
93:44 queued 82:27
created
ecrire/inc/lien.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@  discard block
 block discarded – undo
45 45
 // Meme analyse mais pour eliminer les liens
46 46
 // et ne laisser que leur titre, a expliciter si ce n'est fait
47 47
 // http://doc.spip.org/@nettoyer_raccourcis_typo
48
+/**
49
+ * @param string|null $texte
50
+ */
48 51
 function nettoyer_raccourcis_typo($texte, $connect='')
49 52
 {
50 53
 
@@ -199,6 +202,9 @@  discard block
 block discarded – undo
199 202
 }
200 203
 
201 204
 // Retourne le champ textuel associe a une cle primaire, et sa langue
205
+/**
206
+ * @param string $connect
207
+ */
202 208
 function traiter_raccourci_titre($id, $type, $connect=NULL)
203 209
 {
204 210
 	$trouver_table = charger_fonction('trouver_table', 'base');
Please login to merge, or discard this patch.
ecrire/inc/lister_objets.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,6 @@
 block discarded – undo
19 19
  * surcharge pour aiguiller vers la mise en skel
20 20
  *
21 21
  * @param string $vue
22
- * @param string $titre
23
- * @param array $requete
24
- * @param string $formater
25 22
  * @param bool $force
26 23
  * @return string
27 24
  */
Please login to merge, or discard this patch.
ecrire/inc/plugin.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
  *
441 441
  * @param $liste
442 442
  * 		Liste de description des plugins
443
- * @param $nom
443
+ * @param string $nom
444 444
  * 		Le plugin donc on cherche la presence
445 445
  * @param $version
446 446
  * 		L'éventuelle intervalle de compatibilité de la dependance. ex: [1.1.0;]
@@ -681,6 +681,9 @@  discard block
 block discarded – undo
681 681
 	ecrire_fichier_php(_CACHE_PLUGINS_FCT, $contenu['fonctions']);
682 682
 }
683 683
 
684
+/**
685
+ * @param string $nom
686
+ */
684 687
 function plugin_ongletbouton($nom, $val)
685 688
 {
686 689
 	if (!$val) $val = array();
@@ -698,6 +701,9 @@  discard block
 block discarded – undo
698 701
 // $GLOBALS['spip_pipeline']
699 702
 // $GLOBALS['spip_matrice']
700 703
 
704
+/**
705
+ * @param boolean $pipe_recherche
706
+ */
701 707
 function pipeline_matrice_precompile($plugin_valides, $ordre, $pipe_recherche)
702 708
 {
703 709
 	static $liste_pipe_manquants=array();
@@ -837,6 +843,9 @@  discard block
 block discarded – undo
837 843
 	ecrire_meta('plugin_installes',serialize($meta_plug_installes),'non');
838 844
 }
839 845
 
846
+/**
847
+ * @param string $nom
848
+ */
840 849
 function ecrire_fichier_php($nom, $contenu, $comment='')
841 850
 {
842 851
 	ecrire_fichier($nom, 
Please login to merge, or discard this patch.
ecrire/inc/presentation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
 include_spip('inc/filtres_boites');
24 24
 
25 25
 // http://doc.spip.org/@debut_cadre
26
+/**
27
+ * @param string $style
28
+ */
26 29
 function debut_cadre($style, $icone = "", $fonction = "", $titre = "", $id="", $class="", $padding=true) {
27 30
 	$style_mapping=array('r'=>'simple','e'=>'raccourcis','couleur'=>'basic highlight','couleur-foncee'=>'basic highlight','trait-couleur'=>'important','alerte'=>'notice','info'=>'info','sous_rub'=>'simple sous-rub');
28 31
 	$style_titre_mapping=array('couleur'=>'topper','trait-couleur'=>'section');
Please login to merge, or discard this patch.
ecrire/inc/puce_statut.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -243,6 +243,12 @@  discard block
 block discarded – undo
243 243
 }
244 244
 
245 245
 // http://doc.spip.org/@puce_statut_article_dist
246
+/**
247
+ * @param integer $id
248
+ * @param string $statut
249
+ * @param integer $id_rubrique
250
+ * @param boolean $menu_rapide
251
+ */
246 252
 function puce_statut_changement_rapide($id, $statut, $id_rubrique, $type='article', $ajax = false, $menu_rapide=_ACTIVER_PUCE_RAPIDE) {
247 253
 	$src = statut_image($type, $statut);
248 254
 	if (!$src)
@@ -317,6 +323,11 @@  discard block
 block discarded – undo
317 323
 }
318 324
 
319 325
 // http://doc.spip.org/@afficher_script_statut
326
+/**
327
+ * @param string $type
328
+ * @param double $n
329
+ * @param string $img
330
+ */
320 331
 function afficher_script_statut($id, $type, $n, $img, $statut, $titre, $act='') {
321 332
 	$h = generer_action_auteur("instituer_objet","$type-$id-$statut");
322 333
 	$h = "selec_statut('$id', '$type', $n, jQuery('img',this).attr('src'), '$h');return false;";
Please login to merge, or discard this patch.
ecrire/inc/queue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
  *
269 269
  * @param array $force_jobs
270 270
  *   list of id_job to execute when provided
271
- * @return null|false
271
+ * @return null|boolean
272 272
  */
273 273
 function queue_schedule($force_jobs = null){
274 274
 	$time = time();
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
  *
395 395
  * @param <type> $function
396 396
  * @param <type> $inclure
397
- * @return <type>
397
+ * @return integer
398 398
  */
399 399
 function queue_is_cron_job($function,$inclure){
400 400
 	static $taches = null;
Please login to merge, or discard this patch.
ecrire/inc/rubriques.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
  *     Ancien statut de la rubrique
45 45
  * @param bool $postdate
46 46
  *     true pour recalculer aussi la date du prochain article post-daté
47
- * @return bool
47
+ * @return boolean|null
48 48
  *     true si le statut change effectivement
49 49
 **/
50 50
 function calculer_rubriques_if ($id_rubrique, $modifs, $statut_ancien='', $postdate = false)
Please login to merge, or discard this patch.
ecrire/inc/surligne.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 
21 21
 
22 22
 // http://doc.spip.org/@surligner_mots
23
+/**
24
+ * @param string $page
25
+ */
23 26
 function surligner_mots($page, $surcharge_surligne = '') {
24 27
 	$surlignejs_engines = array(
25 28
 		array(",".str_replace(array("/", "."), array("\/", "\."), $GLOBALS['meta']['adresse_site']).",i", ",recherche=([^&]+),i"), //SPIP
Please login to merge, or discard this patch.
ecrire/inc/texte.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
 
66 66
 // afficher joliment les <script>
67 67
 // http://doc.spip.org/@echappe_js
68
+/**
69
+ * @param string $t
70
+ */
68 71
 function echappe_js($t,$class=' class="echappe-js"') {
69 72
 	if (preg_match_all(',<script.*?($|</script.),isS', $t, $r, PREG_SET_ORDER))
70 73
 	foreach ($r as $regs)
@@ -256,6 +259,9 @@  discard block
 block discarded – undo
256 259
 //
257 260
 // http://doc.spip.org/@paragrapher
258 261
 // /!\ appelee dans inc/filtres et public/composer
262
+/**
263
+ * @param string $letexte
264
+ */
259 265
 function paragrapher($letexte, $forcer=true) {
260 266
 	return $letexte;
261 267
 }
Please login to merge, or discard this patch.