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 ( f62b9b...92c68a )
by
unknown
63:23
created
plugins/fusionforge_compat/include/arc/parsers/ARC2_TurtleParser.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
   
35 35
   /*  */
36 36
   
37
+  /**
38
+   * @param string $re
39
+   */
37 40
   function x($re, $v, $options = 'si') {
38 41
     $v = preg_replace('/^[\xA0\xC2]+/', ' ', $v);
39 42
     while (preg_match('/^\s*(\#[^\xd\xa]*)(.*)$/si', $v, $m)) {/* comment removal */
@@ -682,6 +685,9 @@  discard block
 block discarded – undo
682 685
   
683 686
   /* 77.. */
684 687
   
688
+  /**
689
+   * @param string $v
690
+   */
685 691
   function xINTEGER($v) {
686 692
     if ($r = $this->x('([0-9]+)', $v)) {
687 693
       return array($r[1], $r[2]);
@@ -748,6 +754,9 @@  discard block
 block discarded – undo
748 754
 
749 755
   /* 97.. */
750 756
   
757
+  /**
758
+   * @param string $v
759
+   */
751 760
   function xVARNAME($v) {
752 761
     $r = '';
753 762
     do {
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/serializers/ARC2_NTriplesSerializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@
 block discarded – undo
125 125
     return $r;
126 126
   }
127 127
 
128
+  /**
129
+   * @param integer $no
130
+   */
128 131
   function getEscapedChar($c, $no) {/*see http://www.w3.org/TR/rdf-testcases/#ntrip_strings */
129 132
     if ($no < 9)        return "\\u" . sprintf('%04X', $no);  /* #x0-#x8 (0-8) */
130 133
     if ($no == 9)       return '\t';                          /* #x9 (9) */
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/serializers/ARC2_POSHRDFSerializer.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
   
30
+  /**
31
+   * @return string
32
+   */
30 33
   function getLabel($res, $ps = '') {
31 34
     if (!$ps) $ps = array();
32 35
     foreach ($ps as $p => $os) {
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/serializers/ARC2_RDFXMLSerializer.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -32,6 +32,11 @@
 block discarded – undo
32 32
 
33 33
   /*  */
34 34
   
35
+  /**
36
+   * @param string $type
37
+   *
38
+   * @return string
39
+   */
35 40
   function getTerm($v, $type) {
36 41
     if (!is_array($v)) {/* uri or bnode */
37 42
       if (preg_match('/^\_\:(.*)$/', $v, $m)) {
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/sparqlscript/ARC2_SPARQLScriptParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@
 block discarded – undo
113 113
     return array(0, $v);
114 114
   }
115 115
 
116
+  /**
117
+   * @param string $v
118
+   */
116 119
   function xBlockSet($v) {
117 120
     if (!$r = $this->x("\{", $v)) return array(0, $v);
118 121
     $blocks = array();
Please login to merge, or discard this patch.
fusionforge_compat/include/arc/sparqlscript/ARC2_SPARQLScriptProcessor.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
   
74 74
   /*  */
75 75
 
76
+  /**
77
+   * @param string $val
78
+   */
76 79
   function setVar($name, $val, $type = 'literal', $meta = '') {
77 80
     /* types: literal, var, rows, bool, doc, http_response, undefined, ? */
78 81
     $this->env['vars'][$name] = array(
@@ -160,6 +163,9 @@  discard block
 block discarded – undo
160 163
     return '';
161 164
   }
162 165
   
166
+  /**
167
+   * @param string $path
168
+   */
163 169
   function getPropertyValue($obj, $path) {
164 170
     $val = isset($obj['value']) ? $obj['value'] : $obj;
165 171
     $path = $this->replacePlaceholders($path, 'property_value', 0);
@@ -241,6 +247,9 @@  discard block
 block discarded – undo
241 247
 
242 248
   /*  */
243 249
   
250
+  /**
251
+   * @param string $context
252
+   */
244 253
   function getArraySerialization($v, $context) {
245 254
     $v_type = ARC2::getStructType($v);/* string|array|triples|index */
246 255
     $pf = ARC2::getPreferredFormat();
@@ -308,6 +317,9 @@  discard block
 block discarded – undo
308 317
     }
309 318
   }
310 319
   
320
+  /**
321
+   * @return boolean
322
+   */
311 323
   function getStore($ep_uri) {
312 324
     /* local store */
313 325
     if ((!$ep_uri || $ep_uri == ARC2::getScriptURI()) && ($this->v('sparqlscript_default_endpoint', '', $this->a) == 'local')) {
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_RemoteStore.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
   
59 59
   /*  */
60 60
   
61
+  /**
62
+   * @param string $q
63
+   */
61 64
   function query($q, $result_format = '', $src = '', $keep_bnode_ids = 0, $log_query = 0) {
62 65
     if ($log_query) $this->logQuery($q);
63 66
     ARC2::inc('SPARQLPlusParser');
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_Store.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
   
93 93
   /*  */
94 94
   
95
+  /**
96
+   * @return string
97
+   */
95 98
   function getCollation() {
96 99
     $rs = $this->queryDB('SHOW TABLE STATUS LIKE "' . $this->getTablePrefix(). 'setting"', $this->getDBCon());
97 100
     return ($rs && ($row = mysql_fetch_array($rs)) && isset($row['Collation'])) ? $row['Collation'] : '';
@@ -109,6 +112,9 @@  discard block
 block discarded – undo
109 112
 
110 113
   /*  */
111 114
 
115
+  /**
116
+   * @param string $tbl
117
+   */
112 118
   function hasHashColumn($tbl) {
113 119
     $var_name = 'has_hash_column_' . $tbl;
114 120
     if (!isset($this->$var_name)) {
@@ -203,6 +209,9 @@  discard block
 block discarded – undo
203 209
     return ($rs && ($row = mysql_fetch_array($rs))) ? 1 : 0;
204 210
   }
205 211
   
212
+  /**
213
+   * @param string $k
214
+   */
206 215
   function getSetting($k, $default = 0) {
207 216
     $tbl = $this->getTablePrefix() . 'setting';
208 217
     $sql = "SELECT val FROM " . $tbl . " WHERE k = '" .md5($k). "'";
@@ -213,6 +222,9 @@  discard block
 block discarded – undo
213 222
     return $default;
214 223
   }
215 224
   
225
+  /**
226
+   * @param string $k
227
+   */
216 228
   function setSetting($k, $v) {
217 229
     $con = $this->getDBCon();
218 230
     $tbl = $this->getTablePrefix() . 'setting';
@@ -225,6 +237,9 @@  discard block
 block discarded – undo
225 237
     return $this->queryDB($sql, $con);
226 238
   }
227 239
   
240
+  /**
241
+   * @param string $k
242
+   */
228 243
   function removeSetting($k) {
229 244
     $tbl = $this->getTablePrefix() . 'setting';
230 245
     return $this->queryDB("DELETE FROM " . $tbl . " WHERE k = '" . md5($k) . "'", $this->getDBCon());
@@ -376,6 +391,9 @@  discard block
 block discarded – undo
376 391
   
377 392
   /*  */
378 393
   
394
+  /**
395
+   * @param string $q
396
+   */
379 397
   function query($q, $result_format = '', $src = '', $keep_bnode_ids = 0, $log_query = 0) {
380 398
     if ($log_query) $this->logQuery($q);
381 399
     $con = $this->getDBCon();
@@ -464,6 +482,9 @@  discard block
 block discarded – undo
464 482
     return abs(crc32($val));
465 483
   }
466 484
 
485
+  /**
486
+   * @return resource|null
487
+   */
467 488
   function getTermID($val, $term = '') {
468 489
     $tbl = preg_match('/^(s|o)$/', $term) ? $term . '2val' : 'id2val';
469 490
     $con = $this->getDBCon();
@@ -605,6 +626,9 @@  discard block
 block discarded – undo
605 626
     );
606 627
   }
607 628
   
629
+  /**
630
+   * @param string[] $ps
631
+   */
608 632
   function inferLabelProps($ps) {
609 633
     $this->query('DELETE FROM <label-properties>');
610 634
     $sub_q = '';
Please login to merge, or discard this patch.
plugins/fusionforge_compat/include/arc/store/ARC2_StoreDumper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
 
83 83
   /*  */
84 84
 
85
+  /**
86
+   * @param string $q
87
+   */
85 88
   function saveCustomSPOG($path, $q) {
86 89
     if (!$fp = @fopen($path, 'w')) return $this->addError('Could not create backup file at ' . realpath($path));
87 90
     fwrite($fp, $this->getHeader());
@@ -95,6 +98,9 @@  discard block
 block discarded – undo
95 98
   
96 99
   /*  */
97 100
 
101
+  /**
102
+   * @param integer $offset
103
+   */
98 104
   function getRecordset($offset) {
99 105
     $prefix = $this->store->getTablePrefix();
100 106
     $con = $this->store->getDBCon();
Please login to merge, or discard this patch.