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
Pull Request — develop (#137)
by Gwenaël
07:45
created
application/config/api.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 //--------------------------------------------------------------------
35 37
 // Authentication Type
Please login to merge, or discard this patch.
application/config/application.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 //--------------------------------------------------------------------
35 37
 // Auto Migrate?
Please login to merge, or discard this patch.
application/config/auth.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 //--------------------------------------------------------------------
35 37
 // AUTHORIZATION ENGINE
Please login to merge, or discard this patch.
application/config/cron.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 use Myth\Cron\CronManager as CronManager;
35 37
 
Please login to merge, or discard this patch.
application/config/events.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 use \Myth\Events\Events as Events;
35 37
 use Myth\Mail\Mail as Mail;
Please login to merge, or discard this patch.
application/config/forge.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,9 @@
 block discarded – undo
29 29
  * @link        http://sprintphp.com
30 30
  * @since       Version 1.0
31 31
  */
32
-if (!defined('BASEPATH')) exit('No direct script access allowed');
32
+if (!defined('BASEPATH')) {
33
+	exit('No direct script access allowed');
34
+}
33 35
 
34 36
 //--------------------------------------------------------------------
35 37
 // Allowed Environments
Please login to merge, or discard this patch.
application/core/MY_Loader.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
         // If the file can't be found, then use the regular view method...
22 22
         if (file_exists($view)) {
23 23
             return $this->_ci_load(array('_ci_path' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
24
-        }
25
-        else {
24
+        } else {
26 25
             return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
27 26
         }
28 27
     }
Please login to merge, or discard this patch.
application/helpers/markdown_helper.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1636,8 +1636,10 @@
 block discarded – undo
1636 1636
                 $r = ($seed * (1 + $key)) % 100; # Pseudo-random function.
1637 1637
                 # roughly 10% raw, 45% hex, 45% dec
1638 1638
                 # '@' *must* be encoded. I insist.
1639
-                if ($r > 90 && $char != '@') /* do nothing */ {
1639
+                if ($r > 90 && $char != '@') {
1640
+                	/* do nothing */ {
1640 1641
                     ;
1642
+                }
1641 1643
                 } else if ($r < 45) {
1642 1644
                     $chars[$key] = '&#x' . dechex($ord) . ';';
1643 1645
                 } else {
Please login to merge, or discard this patch.
application/libraries/Migration.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@  discard block
 block discarded – undo
208 208
         if ($this->_migration_type === 'sequential')
209 209
         {
210 210
             $target_version = sprintf('%03d', $target_version);
211
-        }
212
-        else
211
+        } else
213 212
         {
214 213
             $target_version = (string) $target_version;
215 214
         }
@@ -226,8 +225,7 @@  discard block
 block discarded – undo
226 225
         {
227 226
             // Moving Up
228 227
             $method = 'up';
229
-        }
230
-        else
228
+        } else
231 229
         {
232 230
             // Moving Down, apply in reverse order
233 231
             $method = 'down';
@@ -437,8 +435,7 @@  discard block
 block discarded – undo
437 435
         if ($this->_migration_type == 'timestamp')
438 436
         {
439 437
             $prefix = date('YmdHis');
440
-        }
441
-        else
438
+        } else
442 439
         {
443 440
             $prefix = str_pad($this->get_version() + 1, 3, '0', STR_PAD_LEFT);
444 441
         }
Please login to merge, or discard this patch.