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 ( 288e4c...0bb61b )
by Jesus
01:42
created
locallib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,4 +14,4 @@
 block discarded – undo
14 14
 global $CFG;
15 15
 
16 16
 require_once(dirname(__FILE__).'/lib.php');
17
-require_once($CFG->libdir . '/filelib.php');
17
+require_once($CFG->libdir.'/filelib.php');
Please login to merge, or discard this patch.
lib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $this->add_js_plugin($params);
41 41
 
42 42
         // Add parameters for recordrtc.
43
-        $params['recordrtc'] = array('contextid' => $options['context']->id, 'sesskey' => sesskey() );
43
+        $params['recordrtc'] = array('contextid' => $options['context']->id, 'sesskey' => sesskey());
44 44
 
45 45
         // Position button in toolbar.
46 46
         if ($row = $this->find_button($params, 'moodlemedia')) {
Please login to merge, or discard this patch.
save.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
 require_login($course, false, $cm);
35 35
 require_sesskey();
36 36
 
37
-if ( !isset($_FILES["audio-blob"]) && !isset($_FILES["video-blob"]) ) {
37
+if (!isset($_FILES["audio-blob"]) && !isset($_FILES["video-blob"])) {
38 38
     $error = "Blob not included";
39 39
     debugging($error, DEBUG_DEVELOPER);
40 40
     header("HTTP/1.0 400 Bad Request");
41 41
     return;
42 42
 }
43 43
 
44
-if ( !isset($_POST["audio-filename"]) && !isset($_POST["video-filename"]) ) {
44
+if (!isset($_POST["audio-filename"]) && !isset($_POST["video-filename"])) {
45 45
     $error = "Filename not included";
46 46
     debugging($error, DEBUG_DEVELOPER);
47 47
     header("HTTP/1.0 400 Bad Request");
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 $filename = $_POST["audio-filename"];
52 52
 $filetmp = $_FILES["audio-blob"]["tmp_name"];
53
-if ( !isset($_FILES["audio-blob"]) || !isset($_POST["audio-filename"]) ) {
53
+if (!isset($_FILES["audio-blob"]) || !isset($_POST["audio-filename"])) {
54 54
     $filename = $_POST["video-filename"];
55 55
     $filetmp = $_FILES["video-blob"]["tmp_name"];
56 56
 }
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
 // Prepare file record object.
61 61
 $usercontext = context_user::instance($USER->id);
62 62
 $fileinfo = array(
63
-      'contextid' => $usercontext->id,   // ID of context.
63
+      'contextid' => $usercontext->id, // ID of context.
64 64
       'component' => 'tinymce_recordrtc', // Usually = table name.
65
-      'filearea' => 'annotation',         // Usually = table name.
66
-      'itemid' => time(),                 // Usually = ID of row in table.
67
-      'filepath' => '/',                  // Any path beginning and ending in "/".
68
-      'filename' => $filename,            // Any filename.
65
+      'filearea' => 'annotation', // Usually = table name.
66
+      'itemid' => time(), // Usually = ID of row in table.
67
+      'filepath' => '/', // Any path beginning and ending in "/".
68
+      'filename' => $filename, // Any filename.
69 69
       'author' => fullname($USER),
70 70
       'licence' => $CFG->sitedefaultlicense
71 71
       );
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -60,18 +60,18 @@
 block discarded – undo
60 60
 // Prepare file record object.
61 61
 $usercontext = context_user::instance($USER->id);
62 62
 $fileinfo = array(
63
-      'contextid' => $usercontext->id,   // ID of context.
64
-      'component' => 'tinymce_recordrtc', // Usually = table name.
65
-      'filearea' => 'annotation',         // Usually = table name.
66
-      'itemid' => time(),                 // Usually = ID of row in table.
67
-      'filepath' => '/',                  // Any path beginning and ending in "/".
68
-      'filename' => $filename,            // Any filename.
69
-      'author' => fullname($USER),
70
-      'licence' => $CFG->sitedefaultlicense
71
-      );
63
+        'contextid' => $usercontext->id,   // ID of context.
64
+        'component' => 'tinymce_recordrtc', // Usually = table name.
65
+        'filearea' => 'annotation',         // Usually = table name.
66
+        'itemid' => time(),                 // Usually = ID of row in table.
67
+        'filepath' => '/',                  // Any path beginning and ending in "/".
68
+        'filename' => $filename,            // Any filename.
69
+        'author' => fullname($USER),
70
+        'licence' => $CFG->sitedefaultlicense
71
+        );
72 72
 $filesaved = $fs->create_file_from_pathname($fileinfo, $filetmp);
73 73
 
74 74
 // OK response.
75 75
 $filetarget = $filesaved->get_contextid().'/'.$filesaved->get_component().'/'.$filesaved->get_filearea().'/'.
76
-              $filesaved->get_itemid().'/'.$filesaved->get_filename();
76
+                $filesaved->get_itemid().'/'.$filesaved->get_filename();
77 77
 echo($filetarget);
Please login to merge, or discard this patch.
recordrtc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 // Reset page layout for inside editor.
44 44
 $PAGE->set_pagelayout('embedded');
45 45
 
46
-$PAGE->requires->css( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css') );
47
-$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/detector.js') );
46
+$PAGE->requires->css(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css'));
47
+$PAGE->requires->js(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/detector.js'));
48 48
 
49 49
 $jsvars = array(
50 50
     'contextid' => $contextid,
Please login to merge, or discard this patch.
settings.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         'both'=>get_string('both', 'tinymce_recordrtc'),
29 29
         'audio'=>get_string('onlyaudio', 'tinymce_recordrtc'),
30 30
         'video'=>get_string('onlyvideo', 'tinymce_recordrtc')
31
-      );
31
+        );
32 32
     $settings->add(new admin_setting_configselect('tinymce_recordrtc/allowedtypes',
33 33
         get_string('allowedtypes', 'tinymce_recordrtc'), '', '', $options));
34 34
     $settings->add(new admin_setting_configtext_with_maxlength('tinymce_recordrtc/timelimit',
Please login to merge, or discard this patch.