Completed
Push — spip-3.0 ( 5d8b58...300bac )
by cam
35:29 queued 27:27
created
ecrire/auth/sha256.inc.php 1 patch
Doc Comments   +33 added lines patch added patch discarded remove patch
@@ -135,15 +135,41 @@  discard block
 block discarded – undo
135 135
             return (int)$x >> (int)$n;
136 136
         }
137 137
 
138
+        /**
139
+         * @param integer $n
140
+         */
138 141
         function ROTR($x, $n) { return (int)(($this->SHR($x, $n) | ($x << (32-$n)) & 0xFFFFFFFF)); }
142
+
143
+        /**
144
+         * @param integer $x
145
+         * @param integer $y
146
+         * @param integer $z
147
+         */
139 148
         function Ch($x, $y, $z) { return ($x & $y) ^ ((~$x) & $z); }
149
+
150
+        /**
151
+         * @param integer $x
152
+         * @param integer $y
153
+         * @param integer $z
154
+         */
140 155
         function Maj($x, $y, $z) { return ($x & $y) ^ ($x & $z) ^ ($y & $z); }
156
+
157
+        /**
158
+         * @param integer $x
159
+         */
141 160
         function Sigma0($x) { return (int) ($this->ROTR($x, 2)^$this->ROTR($x, 13)^$this->ROTR($x, 22)); }
161
+
162
+        /**
163
+         * @param integer $x
164
+         */
142 165
         function Sigma1($x) { return (int) ($this->ROTR($x, 6)^$this->ROTR($x, 11)^$this->ROTR($x, 25)); }
143 166
         function sigma_0($x) { return (int) ($this->ROTR($x, 7)^$this->ROTR($x, 18)^$this->SHR($x, 3)); }
144 167
         function sigma_1($x) { return (int) ($this->ROTR($x, 17)^$this->ROTR($x, 19)^$this->SHR($x, 10)); }
145 168
 
146 169
 
170
+				/**
171
+				 * @param integer $byteSize
172
+				 */
147 173
 				function string2ordUTF8($s,&$byteSize){
148 174
 					$chars = array();
149 175
 					// par defaut sur 8bits
@@ -219,6 +245,9 @@  discard block
 block discarded – undo
219 245
 					return $bin;
220 246
 				}
221 247
 
248
+				/**
249
+				 * @param integer $n
250
+				 */
222 251
 				function array_split($a, $n) {
223 252
 					$split = array();
224 253
 					while (count($a)>$n) {
@@ -434,6 +463,10 @@  discard block
 block discarded – undo
434 463
 if (!function_exists('hash'))
435 464
 {
436 465
     define('_NO_HASH_DEFINED',true);
466
+
467
+    /**
468
+     * @param string $algo
469
+     */
437 470
     function hash($algo, $data)
438 471
     {
439 472
         if (empty($algo) || !is_string($algo) || !is_string($data)) {
Please login to merge, or discard this patch.
ecrire/balise/logo_.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -96,6 +96,13 @@
 block discarded – undo
96 96
 	return $p;
97 97
 }
98 98
 
99
+/**
100
+ * @param string $id_objet
101
+ * @param string $_id_objet
102
+ * @param string $type
103
+ * @param integer $fichier
104
+ * @param string $suite
105
+ */
99 106
 function logo_survol($id_objet, $_id_objet, $type, $align, $fichier, $lien, $p, $suite)
100 107
 {
101 108
 	$code = "quete_logo('$id_objet', '" .
Please login to merge, or discard this patch.
ecrire/balise/menu_lang_ecrire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 }
38 38
 
39 39
 // http://doc.spip.org/@menu_lang_pour_tous
40
+/**
41
+ * @param string $nom
42
+ */
40 43
 function menu_lang_pour_tous($nom, $default) {
41 44
 	include_spip('inc/lang');
42 45
 
Please login to merge, or discard this patch.
ecrire/base/upgrade.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@
 block discarded – undo
231 231
 
232 232
 // pour versions <= 1.926
233 233
 // http://doc.spip.org/@upgrade_vers
234
+/**
235
+ * @param double $version
236
+ */
234 237
 function upgrade_vers($version, $version_installee, $version_cible = 0){
235 238
 	return ($version_installee<$version
236 239
 		AND (($version_cible>=$version) OR ($version_cible==0))
Please login to merge, or discard this patch.
ecrire/genie/mise_a_jour.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@  discard block
 block discarded – undo
34 34
 define('_VERSIONS_SERVEUR', 'http://files.spip.org/');
35 35
 define('_VERSIONS_LISTE', 'archives.xml');
36 36
 
37
+/**
38
+ * @param string $dir
39
+ * @param string $file
40
+ */
37 41
 function info_maj ($dir, $file, $version){
38 42
 	include_spip('inc/plugin');
39 43
 	
@@ -67,6 +71,11 @@  discard block
 block discarded – undo
67 71
 // on teste la nouveaute par If-Modified-Since,
68 72
 // et seulement quand celui-ci a change' pour limiter les acces HTTP
69 73
 
74
+/**
75
+ * @param string $nom
76
+ *
77
+ * @return string
78
+ */
70 79
 function info_maj_cache($nom, $dir, $page='')
71 80
 {
72 81
 	$re = '<archives id="a' . $GLOBALS['meta']["alea_ephemere"] . '">';
Please login to merge, or discard this patch.
ecrire/inc/filtres_images_mini.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 include_spip('inc/filtres_images_lib_mini'); // par precaution
15 15
 
16 16
 // http://doc.spip.org/@couleur_html_to_hex
17
+/**
18
+ * @param string $couleur
19
+ */
17 20
 function couleur_html_to_hex($couleur){
18 21
 	$couleurs_html=array(
19 22
 		'aqua'=>'00FFFF','black'=>'000000','blue'=>'0000FF','fuchsia'=>'FF00FF','gray'=>'808080','green'=>'008000','lime'=>'00FF00','maroon'=>'800000',
Please login to merge, or discard this patch.
ecrire/inc/headers.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@
 block discarded – undo
125 125
 }
126 126
 
127 127
 // http://doc.spip.org/@http_status
128
+/**
129
+ * @param integer $status
130
+ */
128 131
 function http_status($status) {
129 132
 	global $REDIRECT_STATUS, $flag_sapi_name;
130 133
 	static $status_string = array(
Please login to merge, or discard this patch.
ecrire/inc/meta.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@
 block discarded – undo
107 107
 }
108 108
 
109 109
 // http://doc.spip.org/@ecrire_meta
110
+/**
111
+ * @param string $importable
112
+ */
110 113
 function ecrire_meta($nom, $valeur, $importable = NULL, $table='meta') {
111 114
 
112 115
 	static $touch = array();
Please login to merge, or discard this patch.
ecrire/inc/selectionner.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,12 @@
 block discarded – undo
58 58
 }
59 59
 
60 60
 // http://doc.spip.org/@construire_selectionner_hierarchie
61
+/**
62
+ * @param string $idom
63
+ * @param string|boolean $racine
64
+ * @param string $url
65
+ * @param string $name
66
+ */
61 67
 function construire_selectionner_hierarchie($idom, $liste, $racine, $url, $name, $url_init='')
62 68
 {
63 69
 	global $spip_lang_right;
Please login to merge, or discard this patch.