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 — 2.8 ( b149e4...460f15 )
by Thorsten
20:35
created
phpmyfaq/inc/PMF/DB/Mysqli.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_DB_Mysqli class provides methods and functions for MySQL 5.x and
4
- * MariaDB 5.x databases
5
- *
6
- * PHP Version 5.3
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @package   DB
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @author    David Soria Parra <[email protected]>
16
- * @copyright 2005-2016 phpMyFAQ Team
17
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
- * @link      http://www.phpmyfaq.de
19
- * @package   2005-02-21
20
- */
3
+     * The PMF_DB_Mysqli class provides methods and functions for MySQL 5.x and
4
+     * MariaDB 5.x databases
5
+     *
6
+     * PHP Version 5.3
7
+     *
8
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+     * obtain one at http://mozilla.org/MPL/2.0/.
11
+     *
12
+     * @category  phpMyFAQ
13
+     * @package   DB
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @author    David Soria Parra <[email protected]>
16
+     * @copyright 2005-2016 phpMyFAQ Team
17
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
+     * @link      http://www.phpmyfaq.de
19
+     * @package   2005-02-21
20
+     */
21 21
 
22 22
 if (!defined('IS_VALID_PHPMYFAQ')) {
23 23
     exit();
@@ -122,11 +122,11 @@  discard block
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-    * Escapes a string for use in a query
126
-    *
127
-    * @param   string
128
-    * @return  string
129
-    */
125
+     * Escapes a string for use in a query
126
+     *
127
+     * @param   string
128
+     * @return  string
129
+     */
130 130
     public function escape($string)
131 131
     {
132 132
         return $this->conn->real_escape_string($string);
@@ -207,11 +207,11 @@  discard block
 block discarded – undo
207 207
         return $this->sqllog;
208 208
     }
209 209
 
210
-     /**
211
-      * This function returns the table status.
212
-      *
213
-      * @return array
214
-      */
210
+        /**
211
+         * This function returns the table status.
212
+         *
213
+         * @return array
214
+         */
215 215
     public function getTableStatus()
216 216
     {
217 217
         $arr = array();
@@ -237,19 +237,19 @@  discard block
 block discarded – undo
237 237
                MAX(%s) AS current_id
238 238
            FROM
239 239
                %s",
240
-           $id,
241
-           $table);
240
+            $id,
241
+            $table);
242 242
            
243 243
         $result  = $this->query($select);
244 244
         $current = $result->fetch_row();
245 245
         return $current[0] + 1;
246 246
     }
247 247
 
248
-     /**
249
-      * Returns the error string.
250
-      *
251
-      * @return string
252
-      */
248
+        /**
249
+         * Returns the error string.
250
+         *
251
+         * @return string
252
+         */
253 253
     public function error()
254 254
     {
255 255
         return $this->conn->error;
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Sqlite.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_DB_Sqlite class provides methods and functions for a SQLite v2
4
- * database. This class is deprecated for PHP 5.3 and PHP 5.4.
5
- *
6
- * PHP Version 5.3
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @package   DB
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @author    Johannes Schlüter <[email protected]>
16
- * @copyright 2005-2016 phpMyFAQ Team
17
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
- * @link      http://www.phpmyfaq.de
19
- * @since     2005-06-27
20
- */
3
+     * The PMF_DB_Sqlite class provides methods and functions for a SQLite v2
4
+     * database. This class is deprecated for PHP 5.3 and PHP 5.4.
5
+     *
6
+     * PHP Version 5.3
7
+     *
8
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+     * obtain one at http://mozilla.org/MPL/2.0/.
11
+     *
12
+     * @category  phpMyFAQ
13
+     * @package   DB
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @author    Johannes Schlüter <[email protected]>
16
+     * @copyright 2005-2016 phpMyFAQ Team
17
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
+     * @link      http://www.phpmyfaq.de
19
+     * @since     2005-06-27
20
+     */
21 21
 
22 22
 if (!defined('IS_VALID_PHPMYFAQ')) {
23 23
     exit();
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public function escape($string)
128 128
     {
129
-      return sqlite_escape_string($string);
129
+        return sqlite_escape_string($string);
130 130
     }
131 131
 
132 132
     /**
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Driver.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Interface for database drivers
4
- *
5
- * PHP Version 5.3
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public License,
8
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
- * obtain one at http://mozilla.org/MPL/2.0/.
10
- *
11
- * @category  phpMyFAQ
12
- * @package   DB
13
- * @author    Johannes Schlüter <[email protected]>
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @copyright 2007-2016 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2007-08-19
19
- */
3
+     * Interface for database drivers
4
+     *
5
+     * PHP Version 5.3
6
+     *
7
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
8
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
+     * obtain one at http://mozilla.org/MPL/2.0/.
10
+     *
11
+     * @category  phpMyFAQ
12
+     * @package   DB
13
+     * @author    Johannes Schlüter <[email protected]>
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @copyright 2007-2016 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     * @link      http://www.phpmyfaq.de
18
+     * @since     2007-08-19
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Sqlite3.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_DB_Sqlite3 class provides methods and functions for a SQLite v3
4
- * database
5
- *
6
- * PHP Version 5.3
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @package   DB
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @copyright 2012-2016 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2012-03-02
19
- */
3
+     * The PMF_DB_Sqlite3 class provides methods and functions for a SQLite v3
4
+     * database
5
+     *
6
+     * PHP Version 5.3
7
+     *
8
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+     * obtain one at http://mozilla.org/MPL/2.0/.
11
+     *
12
+     * @category  phpMyFAQ
13
+     * @package   DB
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @copyright 2012-2016 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     * @link      http://www.phpmyfaq.de
18
+     * @since     2012-03-02
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Mssql.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_DB_Mssql class provides methods and functions for Microsoft SQL
4
- * Server 2012 or later
5
- *
6
- * PHP Version 5.3
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @package   DB
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @author    Daniel Hoechst <[email protected]>
16
- * @copyright 2005-2016 phpMyFAQ Team
17
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
- * @link      http://www.phpmyfaq.de
19
- * @package   2005-01-11
20
- */
3
+     * The PMF_DB_Mssql class provides methods and functions for Microsoft SQL
4
+     * Server 2012 or later
5
+     *
6
+     * PHP Version 5.3
7
+     *
8
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+     * obtain one at http://mozilla.org/MPL/2.0/.
11
+     *
12
+     * @category  phpMyFAQ
13
+     * @package   DB
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @author    Daniel Hoechst <[email protected]>
16
+     * @copyright 2005-2016 phpMyFAQ Team
17
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
+     * @link      http://www.phpmyfaq.de
19
+     * @package   2005-01-11
20
+     */
21 21
 
22 22
 if (!defined('IS_VALID_PHPMYFAQ')) {
23 23
     exit();
@@ -129,11 +129,11 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-    * Escapes a string for use in a query
133
-    *
134
-    * @param   string
135
-    * @return  string
136
-    */
132
+     * Escapes a string for use in a query
133
+     *
134
+     * @param   string
135
+     * @return  string
136
+     */
137 137
     public function escape($string)
138 138
     {
139 139
         return str_replace("'", "''", $string);
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      */
273 273
     public function clientVersion()
274 274
     {
275
-         return '';
275
+            return '';
276 276
     }
277 277
 
278 278
     /**
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Helper.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Helper class for database drivers
4
- *
5
- * PHP Version 5.3
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public License,
8
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
- * obtain one at http://mozilla.org/MPL/2.0/.
10
- *
11
- * @category  phpMyFAQ
12
- * @package   DB
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @author    Matteo Scaramuccia <[email protected]>
15
- * @copyright 2012-2016 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2012-04-12
19
- */
3
+     * Helper class for database drivers
4
+     *
5
+     * PHP Version 5.3
6
+     *
7
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
8
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
+     * obtain one at http://mozilla.org/MPL/2.0/.
10
+     *
11
+     * @category  phpMyFAQ
12
+     * @package   DB
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @author    Matteo Scaramuccia <[email protected]>
15
+     * @copyright 2012-2016 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     * @link      http://www.phpmyfaq.de
18
+     * @since     2012-04-12
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/DB/Mysql.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_DB_Mysql class provides methods and functions for MySQL 5.0.x,
4
- * 5.1.x, and 5.5.x databases.
5
- *
6
- * PHP Version 5.3
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @package   DB
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @author    Meikel Katzengreis <[email protected]>
16
- * @author    Tom Rochester <[email protected]>
17
- * @copyright 2003-2016 phpMyFAQ Team
18
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
19
- * @link      http://www.phpmyfaq.de
20
- * @package   2003-02-24
21
- */
3
+     * The PMF_DB_Mysql class provides methods and functions for MySQL 5.0.x,
4
+     * 5.1.x, and 5.5.x databases.
5
+     *
6
+     * PHP Version 5.3
7
+     *
8
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+     * obtain one at http://mozilla.org/MPL/2.0/.
11
+     *
12
+     * @category  phpMyFAQ
13
+     * @package   DB
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @author    Meikel Katzengreis <[email protected]>
16
+     * @author    Tom Rochester <[email protected]>
17
+     * @copyright 2003-2016 phpMyFAQ Team
18
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
19
+     * @link      http://www.phpmyfaq.de
20
+     * @package   2003-02-24
21
+     */
22 22
 
23 23
 if (!defined('IS_VALID_PHPMYFAQ')) {
24 24
     exit();
@@ -227,8 +227,8 @@  discard block
 block discarded – undo
227 227
              MAX(%s) AS current_id
228 228
          FROM
229 229
              %s",
230
-           $id,
231
-           $table);
230
+            $id,
231
+            $table);
232 232
            
233 233
         $result    = $this->query($select);
234 234
         $currentId = mysql_result($result, 0, 'current_id');
@@ -236,11 +236,11 @@  discard block
 block discarded – undo
236 236
         return ($currentId + 1);
237 237
     }
238 238
 
239
-     /**
240
-      * Returns the error string.
241
-      *
242
-      * @return string
243
-      */
239
+        /**
240
+         * Returns the error string.
241
+         *
242
+         * @return string
243
+         */
244 244
     public function error()
245 245
     {
246 246
         return mysql_error();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Linkverifier.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The PMF_Linkverifier class provides methods and functions for verifying URLs
4
- *
5
- * PHP Version 5.3
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public License,
8
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
- * obtain one at http://mozilla.org/MPL/2.0/.
10
- *
11
- * The Initial Developer of the Original Code is released for external use
12
- * with permission from NetJapan, Inc. IT Administration Group.
13
- *
14
- * @category  phpMyFAQ
15
- * @package   PMF_Linkverifier
16
- * @author    Minoru TODA <[email protected]>
17
- * @author    Matteo Scaramuccia <[email protected]>
18
- * @author    Thorsten Rinne <[email protected]>
19
- * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team
20
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
21
- * @link      http://www.phpmyfaq.de
22
- * @since     2005-08-01
23
- */
3
+     * The PMF_Linkverifier class provides methods and functions for verifying URLs
4
+     *
5
+     * PHP Version 5.3
6
+     *
7
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
8
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
+     * obtain one at http://mozilla.org/MPL/2.0/.
10
+     *
11
+     * The Initial Developer of the Original Code is released for external use
12
+     * with permission from NetJapan, Inc. IT Administration Group.
13
+     *
14
+     * @category  phpMyFAQ
15
+     * @package   PMF_Linkverifier
16
+     * @author    Minoru TODA <[email protected]>
17
+     * @author    Matteo Scaramuccia <[email protected]>
18
+     * @author    Thorsten Rinne <[email protected]>
19
+     * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team
20
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
21
+     * @link      http://www.phpmyfaq.de
22
+     * @since     2005-08-01
23
+     */
24 24
 
25 25
 if (!defined('IS_VALID_PHPMYFAQ')) {
26 26
     exit();
@@ -712,15 +712,15 @@  discard block
 block discarded – undo
712 712
     }
713 713
 
714 714
     /**
715
-    * Verifies specified article content and update links_state database entry
716
-    *
717
-    * @param   string  $contents
718
-    * @param   integer $id
719
-    * @param   string  $artlang
720
-    * @param   boolean $cron
721
-    *
722
-    * @return  string  HTML text, if $cron is false (default)
723
-    */
715
+     * Verifies specified article content and update links_state database entry
716
+     *
717
+     * @param   string  $contents
718
+     * @param   integer $id
719
+     * @param   string  $artlang
720
+     * @param   boolean $cron
721
+     *
722
+     * @return  string  HTML text, if $cron is false (default)
723
+     */
724 724
     public function verifyArticleURL($contents = '', $id = 0, $artlang = '', $cron = false)
725 725
     {
726 726
         global $PMF_LANG;
@@ -774,7 +774,7 @@  discard block
 block discarded – undo
774 774
                         $inforeasons[] = sprintf(
775 775
                             $PMF_LANG['ad_linkcheck_openurl_infoprefix'],
776 776
                             PMF_String::htmlspecialchars($value['absurl'])
777
-                         ) . $value['reason'];
777
+                            ) . $value['reason'];
778 778
                     }
779 779
                 } else {
780 780
                     $_classname = "urlfail";
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Sitemap.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The main Sitemap class
4
- *
5
- * PHP Version 5.3
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public License,
8
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
- * obtain one at http://mozilla.org/MPL/2.0/.
10
- *
11
- * @category  phpMyFAQ
12
- * @package   PMF_Sitemap
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2007-2016 phpMyFAQ Team
15
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
- * @link      http://www.phpmyfaq.de
17
- * @since     2007-03-30
18
- */
3
+     * The main Sitemap class
4
+     *
5
+     * PHP Version 5.3
6
+     *
7
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
8
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
+     * obtain one at http://mozilla.org/MPL/2.0/.
10
+     *
11
+     * @category  phpMyFAQ
12
+     * @package   PMF_Sitemap
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2007-2016 phpMyFAQ Team
15
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
+     * @link      http://www.phpmyfaq.de
17
+     * @since     2007-03-30
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.