GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( fc2f08...10d0e6 )
by
unknown
61:03
created
plugins/fusionforge_compat/include/arc/ARC2.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
   /*  */
19 19
   
20
+  /**
21
+   * @param string $val
22
+   */
20 23
   function setStatic($val) {
21 24
     static $arc_static = '';
22 25
     if ($val) $arc_static = $val;   /* set */
@@ -353,6 +356,9 @@  discard block
 block discarded – undo
353 356
 
354 357
   /*  */
355 358
 
359
+  /**
360
+   * @param string $name
361
+   */
356 362
   function getComponent($name, $a = '', $caller = '') {
357 363
     ARC2::inc($name);
358 364
     $prefix = 'ARC2';
@@ -379,6 +385,9 @@  discard block
 block discarded – undo
379 385
 
380 386
   /* parsers */
381 387
 
388
+  /**
389
+   * @param string $prefix
390
+   */
382 391
   function getParser($prefix, $a = '') {
383 392
     return ARC2::getComponent($prefix . 'Parser', $a);
384 393
   }
@@ -451,6 +460,9 @@  discard block
 block discarded – undo
451 460
   
452 461
   /* serializers */
453 462
 
463
+  /**
464
+   * @param string $prefix
465
+   */
454 466
   function getSer($prefix, $a = '') {
455 467
     return ARC2::getComponent($prefix . 'Serializer', $a);
456 468
   }
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/ARC2_Class.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
     return isset($o->$name) ? $o->$name : $default;
54 54
   }
55 55
   
56
+  /**
57
+   * @param string $name
58
+   */
56 59
   function v1($name, $default = false, $o = false) {/* value if 1 (= not empty) */
57 60
     if ($o === false) $o =& $this;
58 61
     if (is_array($o)) {
@@ -61,6 +64,9 @@  discard block
 block discarded – undo
61 64
     return (isset($o->$name) && $o->$name) ? $o->$name : $default;
62 65
   }
63 66
   
67
+  /**
68
+   * @param string $name
69
+   */
64 70
   function m($name, $a = false, $default = false, $o = false) {/* call method */
65 71
     if ($o === false) $o =& $this;
66 72
     return method_exists($o, $name) ? $o->$name($a) : $default;
@@ -83,6 +89,11 @@  discard block
 block discarded – undo
83 89
     return $r;
84 90
   }
85 91
 
92
+  /**
93
+   * @param string $v
94
+   *
95
+   * @return string
96
+   */
86 97
   function deCamelCase($v, $uc_first = 0) {
87 98
     $r = str_replace('_', ' ', $v);
88 99
     $r = preg_replace('/([a-z0-9])([A-Z])/e', '"\\1 " . strtolower("\\2")', $r);
@@ -103,6 +114,9 @@  discard block
 block discarded – undo
103 114
 
104 115
   /*  */
105 116
   
117
+  /**
118
+   * @param string $v
119
+   */
106 120
   function addError($v) {
107 121
     if (!in_array($v, $this->errors)) {
108 122
       $this->errors[] = $v;
@@ -140,6 +154,9 @@  discard block
 block discarded – undo
140 154
 
141 155
   /*  */
142 156
 
157
+  /**
158
+   * @return string
159
+   */
143 160
   function getPName($v, $connector = ':') {
144 161
     /* is already a pname */
145 162
     if ($ns = $this->getPNameNamespace($v, $connector)) {
@@ -174,6 +191,9 @@  discard block
 block discarded – undo
174 191
     return $this->ns[$m[1]];
175 192
   }
176 193
 
194
+  /**
195
+   * @param string $ns
196
+   */
177 197
   function getPrefix($ns) {
178 198
     if (!isset($this->nsp[$ns])) {
179 199
       $this->ns['ns' . $this->ns_count] = $ns;
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/ARC2_Reader.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -40,22 +40,37 @@  discard block
 block discarded – undo
40 40
 
41 41
   /*  */
42 42
   
43
+  /**
44
+   * @param string $v
45
+   */
43 46
   function setHTTPMethod($v) {
44 47
     $this->http_method = $v;
45 48
   }
46 49
 
50
+  /**
51
+   * @param string $v
52
+   */
47 53
   function setMessageBody($v) {
48 54
     $this->message_body = $v;
49 55
   }
50 56
 
57
+  /**
58
+   * @param string $v
59
+   */
51 60
   function setAcceptHeader($v) {
52 61
     $this->http_accept_header = $v;
53 62
   }
54 63
 
64
+  /**
65
+   * @param string $v
66
+   */
55 67
   function setCustomHeaders($v) {
56 68
     $this->http_custom_headers = $v;
57 69
   }
58 70
 
71
+  /**
72
+   * @param string $v
73
+   */
59 74
   function addCustomHeaders($v) {
60 75
     if ($this->http_custom_headers) $this->http_custom_headers .= "\r\n";
61 76
     $this->http_custom_headers .= $v;
@@ -189,6 +204,9 @@  discard block
 block discarded – undo
189 204
     $this->stream = ($data) ? $this->getDataStream($data) : $this->getSocketStream($this->base);
190 205
   }
191 206
 
207
+  /**
208
+   * @param string $data
209
+   */
192 210
   function getDataStream($data) {
193 211
     return array('type' => 'data', 'pos' => 0, 'headers' => array(), 'size' => strlen($data), 'data' => $data, 'buffer' => '');
194 212
   }
@@ -399,6 +417,9 @@  discard block
 block discarded – undo
399 417
     
400 418
   /*  */
401 419
 
420
+  /**
421
+   * @return boolean
422
+   */
402 423
   function getResponseHeaders() {
403 424
     if (isset($this->stream) && isset($this->stream['headers'])) {
404 425
       return $this->stream['headers'];
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/ARC2_Resource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
     $this->index[$s] = $props;
45 45
   }
46 46
 
47
+  /**
48
+   * @param string $p
49
+   */
47 50
   function setProp($p, $os, $s = '') {
48 51
     if (!$s) $s = $this->uri;
49 52
     /* single plain value */
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/extractors/ARC2_PoshRdfExtractor.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -81,6 +81,10 @@  discard block
 block discarded – undo
81 81
   
82 82
   /*  */
83 83
 
84
+  /**
85
+   * @param integer $level
86
+   * @param integer $pos
87
+   */
84 88
   function processNode($n, $ct, $level, $pos) {
85 89
     $n = $this->preProcessNode($n);
86 90
     /* local context */
@@ -164,6 +168,9 @@  discard block
 block discarded – undo
164 168
     return $r;
165 169
   }
166 170
 
171
+  /**
172
+   * @param string $o_type
173
+   */
167 174
   function addTriples($n, $ct, $o_type) {
168 175
     foreach (array('href uri', 'src uri', 'title', 'value') as $k) {
169 176
       if (isset($n['a'][$k])) {
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/extractors/ARC2_RdfaExtractor.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
   
57 57
   /*  */
58 58
 
59
+  /**
60
+   * @param integer $level
61
+   */
59 62
   function processNode($n, $ct, $level) {
60 63
     if ($n['tag']=='cdata' || $n['tag']=='comment') return null; /* patch by tobyink */
61 64
     $ts_added = 0;
@@ -266,6 +269,9 @@  discard block
 block discarded – undo
266 269
   
267 270
   /*  */
268 271
 
272
+  /**
273
+   * @param string $attr
274
+   */
269 275
   function getAttributeURIs($n, $ct, $lct, $attr) {
270 276
     $vals = ($val = $this->v($attr, '', $n['a'])) ? explode(' ', $val) : array();
271 277
     $r = array();
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/extractors/ARC2_RDFExtractor.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
 
33 33
   /*  */
34 34
   
35
+  /**
36
+   * @param string $re
37
+   */
35 38
   function x($re, $v, $options = 'si') {
36 39
     return ARC2::x($re, $v, $options);
37 40
   }
@@ -119,6 +122,9 @@  discard block
 block discarded – undo
119 122
   
120 123
   /*  */
121 124
   
125
+  /**
126
+   * @param string $a
127
+   */
122 128
   function hasAttribute($a, $n, $v) {
123 129
     $vs = is_array($v) ? $v : array($v);
124 130
     $a_vs = $this->v($a . ' m', array(), $n['a']);
@@ -153,6 +159,9 @@  discard block
 block discarded – undo
153 159
   
154 160
   /*  */
155 161
   
162
+  /**
163
+   * @return string
164
+   */
156 165
   function getPlainContent($n, $trim = 1, $use_img_alt = 1) {
157 166
     if ($n['tag'] == 'comment') {
158 167
       $r = '';
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/parsers/ARC2_CBJSONParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
   
92 92
   /*  */
93 93
   
94
+  /**
95
+   * @param string $s
96
+   */
94 97
   function extractResourceRDF($struct, $s, $pos = 0) {
95 98
     $s_type = preg_match('/^\_\:/', $s) ? 'bnode' : 'uri';
96 99
     $date_prefixes = array();
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/parsers/ARC2_JSONParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
   
29 29
   /*  */
30 30
 
31
+  /**
32
+   * @param string $re
33
+   */
31 34
   function x($re, $v, $options = 'si') {
32 35
     while (preg_match('/^\s*(\/\*.*\*\/)(.*)$/Usi', $v, $m)) {/* comment removal */
33 36
       $v = $m[2];
@@ -61,6 +64,9 @@  discard block
 block discarded – undo
61 64
   
62 65
   /*  */
63 66
   
67
+  /**
68
+   * @param string $v
69
+   */
64 70
   function extractObject($v) {
65 71
     if (function_exists('json_decode')) return array(json_decode($v, 1), '');
66 72
     $r = array();
Please login to merge, or discard this patch.