Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(1109 errors, 1002 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

mod/readaloud/ajaxhelper.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) No space found before comment text; expected "// $sessionid = required_param('sessionid', PARAM_INT); // course_module ID, or" but found "//$sessionid = required_param('sessionid', PARAM_INT); // course_module ID, or"
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// make database items and adhoc tasks" but found "//make database items and adhoc tasks"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// handle return to Moodle" but found "//handle return to Moodle"
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) No space found before comment text; expected "// save the data to Moodle." but found "//save the data to Moodle."
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// correct filename which has probably been massaged to get through mod_security" but found "//correct filename which has probably been massaged to get through mod_security"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// Add a blank attempt with just the filename and essential details" but found "//Add a blank attempt with just the filename and essential details"
(#95) Line exceeds 132 characters; contains 140 characters
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) This comment is 58% valid code; is this commented out code?
(#95) No space found before comment text; expected "// $newattempt->sessiontime=$rectime; //.. this would work. But sessiontime is used as flag of human has graded ...so needs more thought" but found "//$newattempt->sessiontime=$rectime; //.. this would work. But sessiontime is used as flag of human has graded ...so needs more thought"
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) No space found before comment text; expected "// if we are machine grading we need an entry to AI table too" but found "//if we are machine grading we need an entry to AI table too"
(#108) No space found before comment text; expected "// But ... there is the chance a user will CHANGE this value after submissions have begun," but found "//But ... there is the chance a user will CHANGE this value after submissions have begun,"
(#109) No space found before comment text; expected "// If they do, INNER JOIN SQL in grade related logic will mess up gradebook if aigrade record is not available." but found "//If they do, INNER JOIN SQL in grade related logic will mess up gradebook if aigrade record is not available."
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) No space found before comment text; expected "// So for prudence sake we ALWAYS create an aigrade record" but found "//So for prudence sake we ALWAYS create an aigrade record"
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) No space found before comment text; expected "// return the attempt id" but found "//return the attempt id"
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) No space found before comment text; expected "// register an adhoc task to pick up transcripts" but found "//register an adhoc task to pick up transcripts"
(#121) Variable "s3_task" must not contain underscores.
(#122) Variable "s3_task" must not contain underscores.
(#130) Variable "s3_task" must not contain underscores.
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "s3_task" must not contain underscores.
mod/readaloud/backup/moodle2/backup_readaloud_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// Link to view.pphp by moduleid" but found "//Link to view.pphp by moduleid"
mod/readaloud/backup/moodle2/backup_readaloud_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) 72 slashes comments are not allowed; use "// Comment." instead
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) 72 slashes comments are not allowed; use "// Comment." instead
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) No space found before comment text; expected "// attempts" but found "//attempts"
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// ai results" but found "//ai results"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// sources if including user info" but found "//sources if including user info"
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) No space found before comment text; expected "// file annotation if including user info" but found "//file annotation if including user info"
mod/readaloud/backup/moodle2/restore_readaloud_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/backup/moodle2/restore_readaloud_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) 72 slashes comments are not allowed; use "// Comment." instead
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) 72 slashes comments are not allowed; use "// Comment." instead
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) 72 slashes comments are not allowed; use "// Comment." instead
(#56) 72 slashes comments are not allowed; use "// Comment." instead
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// attempts" but found "//attempts"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// airesults" but found "//airesults"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// here we set the table name as the "key" to the mapping, but its actually arbitrary" but found "//here we set the table name as the "key" to the mapping, but its actually arbitrary"
(#101) No space found before comment text; expected "// 'we would need to use the "key" later when calling add_related_files for the itemid in the moodle files area" but found "//'we would need to use the "key" later when calling add_related_files for the itemid in the moodle files area"
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) No space found before comment text; expected "// IF we had files for this set of data. )" but found "//IF we had files for this set of data. )"
(#119) No space found before comment text; expected "// here we set the table name as the "key" to the mapping, but its actually arbitrary" but found "//here we set the table name as the "key" to the mapping, but its actually arbitrary"
(#120) No space found before comment text; expected "// 'we would need to use the "key" later when calling add_related_files for the itemid in the moodle files area" but found "//'we would need to use the "key" later when calling add_related_files for the itemid in the moodle files area"
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// IF we had files for this set of data. )" but found "//IF we had files for this set of data. )"
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/readaloud/classes/aigrade.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Visibility must be declared on method "__construct"
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// if we do not have transcripts we try to fetch them" but found "//if we do not have transcripts we try to fetch them"
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) No space found before comment text; expected "// if we got transcripts, right on man." but found "//if we got transcripts, right on man."
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) No space found before comment text; expected "// we process them and update gradebook" but found "//we process them and update gradebook"
(#44) Empty ELSE statement detected
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) No space found before comment text; expected "// if there is no attempt we should not even be here" but found "//if there is no attempt we should not even be here"
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) No space found before comment text; expected "// just a simple interface to manage returning read only property data" but found "//just a simple interface to manage returning read only property data"
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) No space found before comment text; expected "// has attempt data. If not we really can not do much. Perhaps the attempt was deleted?" but found "//has attempt data. If not we really can not do much. Perhaps the attempt was deleted?"
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// we leave it up to the grading logic how/if it adds the ai grades to gradebook" but found "//we leave it up to the grading logic how/if it adds the ai grades to gradebook"
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) No space found before comment text; expected "// do we have the AI transcripts" but found "//do we have the AI transcripts"
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) No space found before comment text; expected "// do we have the AI at all" but found "//do we have the AI at all"
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) No space found before comment text; expected "// add an entry for the AI data for this attempt in the database" but found "//add an entry for the AI data for this attempt in the database"
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// we will fill it up with data shortly" but found "//we will fill it up with data shortly"
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) No space found before comment text; expected "// transcripts become ready in their own time, if they're ready update data and DB," but found "//transcripts become ready in their own time, if they're ready update data and DB,"
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// we should actually just determine if its fast or normal transcoding here" but found "//we should actually just determine if its fast or normal transcoding here"
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) No space found before comment text; expected "// this is the serious stuff, this is the high level function that manages the comparison of transcript and passage" but found "//this is the serious stuff, this is the high level function that manages the comparison of transcript and passage"
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) No space found before comment text; expected "// turn the passage and transcript into an array of words" but found "//turn the passage and transcript into an array of words"
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) No space found before comment text; expected "// fetch sequences of transcript/passage matched words" but found "//fetch sequences of transcript/passage matched words"
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Variable "diff_info" must not contain underscores.
(#178) Variable "diff_info" must not contain underscores.
(#179) Variable "diff_info" must not contain underscores.
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) No space found before comment text; expected "// from the array of differences build error data, match data, markers, scores and metrics" but found "//from the array of differences build error data, match data, markers, scores and metrics"
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) No space found before comment text; expected "// loop through diffs" but found "//loop through diffs"
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) No space found before comment text; expected "// we collect error info so we can count and display them on passage" but found "//we collect error info so we can count and display them on passage"
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) No space found before comment text; expected "// we collect match info so we can play audio from selected word" but found "//we collect match info so we can play audio from selected word"
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) No space found before comment text; expected "// we will assess this from full transcript shortly" but found "//we will assess this from full transcript shortly"
(#210) No space found before comment text; expected "// we will assess this from full transcript shortly" but found "//we will assess this from full transcript shortly"
(#211) No space found before comment text; expected "// was this match an alternatives match?" but found "//was this match an alternatives match?"
(#217) Inline comments must start with a capital letter, digit or 3-dots sequence
(#217) No space found before comment text; expected "// do nothing" but found "//do nothing"
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// should never get here" but found "//should never get here"
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) No space found before comment text; expected "// discard errors that happen after session end word." but found "//discard errors that happen after session end word."
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// finalise and serialise session errors" but found "//finalise and serialise session errors"
(#236) Inline comments must start with a capital letter, digit or 3-dots sequence
(#236) No space found before comment text; expected "// also capture match information for debugging and audio point matching" but found "//also capture match information for debugging and audio point matching"
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// we can only map transcript to audio from match data" but found "//we can only map transcript to audio from match data"
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) No space found before comment text; expected "// session time" but found "//session time"
(#242) No space found before comment text; expected "// if we have a human eval sessiontime, use that." but found "//if we have a human eval sessiontime, use that."
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) No space found before comment text; expected "// else if we have a time limit and not allowing early exit, we use the time limit" but found "//else if we have a time limit and not allowing early exit, we use the time limit"
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) No space found before comment text; expected "// else if we have stored an ai data sessiontime we use that" but found "//else if we have stored an ai data sessiontime we use that"
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) No space found before comment text; expected "// (currently disabling this to force resync on recalc grades)" but found "//(currently disabling this to force resync on recalc grades)"
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) No space found before comment text; expected "// else we get it from transcript (it will be stored as aidata sessiontime for next time)" but found "//else we get it from transcript (it will be stored as aidata sessiontime for next time)"
(#256) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) No space found before comment text; expected "// we get the end_time attribute of the final recognised word in the fulltranscript" but found "//we get the end_time attribute of the final recognised word in the fulltranscript"
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) No space found before comment text; expected "// this is a guess now, We just don't know it. And should not really get here." but found "//this is a guess now, We just don't know it. And should not really get here."
(#272) Inline comments must start with a capital letter, digit or 3-dots sequence
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) No space found before comment text; expected "// save the diff and attempt analysis in the DB" but found "//save the diff and attempt analysis in the DB"
(#285) Inline comments must start with a capital letter, digit or 3-dots sequence
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#285) No space found before comment text; expected "// also uodate our internal data to prevent another db call to refresh data" but found "//also uodate our internal data to prevent another db call to refresh data"
(#294) Inline comments must start with a capital letter, digit or 3-dots sequence
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) No space found before comment text; expected "// if debugging we return some data" but found "//if debugging we return some data"
mod/readaloud/classes/constants.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
(#14) No space found before comment text; expected "// component name, db tables, things that define app" but found "//component name, db tables, things that define app"
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) No space found before comment text; expected "// grading options" but found "//grading options"
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// accuracy adjustment method options" but found "//accuracy adjustment method options"
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// what to display to user when reviewing activity options" but found "//what to display to user when reviewing activity options"
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// more review mode options" but found "//more review mode options"
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// to use or not use machine grades" but found "//to use or not use machine grades"
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// CSS ids/classes" but found "//CSS ids/classes"
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// languages" but found "//languages"
mod/readaloud/classes/diff.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Blank comments are not allowed
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Line indented incorrectly; expected at least 4 spaces, found 1
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#30) Line indented incorrectly; expected at least 4 spaces, found 1
(#31) Public method name "diff::fetchWordArray" must be in lower-case letters only
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// tidy up the text so its just lower case words seperated by spaces" but found "//tidy up the text so its just lower case words seperated by spaces"
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// split on spaces into words" but found "//split on spaces into words"
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// remove any empty elements" but found "//remove any empty elements"
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 43% valid code; is this commented out code?
(#44) No space found before comment text; expected "// re index array because array_filter converts array to assoc. (ie could have gone from indexes 0,1,2,3,4,5 to 0,1,3,4,5)" but found "//re index array because array_filter converts array to assoc. (ie could have gone from indexes 0,1,2,3,4,5 to 0,1,3,4,5)"
(#58) Public method name "diff::cleanText" must be in lower-case letters only
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// lowercaseify" but found "//lowercaseify"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// remove any html" but found "//remove any html"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// replace all line ends with spaces" but found "//replace all line ends with spaces"
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) No space found before comment text; expected "// remove punctuation" but found "//remove punctuation"
(#69) No space found before comment text; expected "// see https://stackoverflow.com/questions/5233734/how-to-strip-punctuation-in-php" but found "//see https://stackoverflow.com/questions/5233734/how-to-strip-punctuation-in-php"
(#70) This comment is 57% valid code; is this commented out code?
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// https://stackoverflow.com/questions/5689918/php-strip-punctuation" but found "//https://stackoverflow.com/questions/5689918/php-strip-punctuation"
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// remove bad chars" but found "//remove bad chars"
(#75) Variable "b_open" must not contain underscores.
(#76) Variable "b_close" must not contain underscores.
(#77) Variable "b_sopen" must not contain underscores.
(#78) Variable "b_sclose" must not contain underscores.
(#79) Variable "b_open" must not contain underscores.
(#79) Variable "b_close" must not contain underscores.
(#79) Variable "b_sopen" must not contain underscores.
(#79) Variable "b_sclose" must not contain underscores.
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) No space found before comment text; expected "// remove double spaces" but found "//remove double spaces"
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// split on spaces into words" but found "//split on spaces into words"
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// remove any empty elements" but found "//remove any empty elements"
(#110) Line exceeds 132 characters; contains 156 characters
(#116) Public method name "diff::fetchAlternativesArray" must be in lower-case letters only
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// return empty if input data is useless" but found "//return empty if input data is useless"
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// regexp from https://stackoverflow.com/questions/7058168/explode-textarea-php-at-new-lines" but found "//regexp from https://stackoverflow.com/questions/7058168/explode-textarea-php-at-new-lines"
(#131) Targeting a 'switch' control structure with a 'continue' statement is strongly discouraged and will throw a warning as of PHP 7.3.
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) No space found before comment text; expected "// clean each word in set" but found "//clean each word in set"
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) No space found before comment text; expected "// Do some adhoc match judgement based on common language transcription errors by AI" but found "//Do some adhoc match judgement based on common language transcription errors by AI"
(#180) No space found before comment text; expected "// Loop through passage, nest looping through transcript building collections of sequences (passage match records)" but found "//Loop through passage, nest looping through transcript building collections of sequences (passage match records)"
(#181) No space found before comment text; expected "// one sequence = sequence_length[length] + sequence_start(transcript)[tposition] + sequence_start(passage)[pposition]" but found "//one sequence = sequence_length[length] + sequence_start(transcript)[tposition] + sequence_start(passage)[pposition]"
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) No space found before comment text; expected "// we do not discriminate over length or position of sequence at this stage. All sequences are saved" but found "//we do not discriminate over length or position of sequence at this stage. All sequences are saved"
(#184) No space found before comment text; expected "// NB The sequence length should be the same in the passage and transcript (because they "matched")" but found "//NB The sequence length should be the same in the passage and transcript (because they "matched")"
(#185) No space found before comment text; expected "// But we attempted to have "multiple word alternatives" which could mean that the match length in the transcript" but found "//But we attempted to have "multiple word alternatives" which could mean that the match length in the transcript"
(#187) No space found before comment text; expected "// eg 1989 -> nineteen eighty nine." but found "//eg 1989 -> nineteen eighty nine."
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) No space found before comment text; expected "// returns array of sequences" but found "//returns array of sequences"
(#193) Public method name "diff::fetchSequences" must be in lower-case letters only
(#194) Variable "p_length" must not contain underscores.
(#195) Variable "t_length" must not contain underscores.
(#197) Variable "t_slength" must not contain underscores.
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) No space found before comment text; expected "// sequence length (in the transcript)" but found "//sequence length (in the transcript)"
(#198) Variable "p_slength" must not contain underscores.
(#198) No space found before comment text; expected "// sequence length (in the passage)" but found "//sequence length (in the passage)"
(#199) Variable "alt_positions" must not contain underscores.
(#199) No space found before comment text; expected "// we record alternate usages in sequence" but found "//we record alternate usages in sequence"
(#200) No space found before comment text; expected "// transcript sequence match search start index" but found "//transcript sequence match search start index"
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// if any alternates declare a forward match we keep that here" but found "//if any alternates declare a forward match we keep that here"
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) No space found before comment text; expected "// loop through passage word by word" but found "//loop through passage word by word"
(#204) Variable "p_length" must not contain underscores.
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) No space found before comment text; expected "// loop through transcript finding matches starting from current passage word" but found "//loop through transcript finding matches starting from current passage word"
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) No space found before comment text; expected "// we step over the length of any sequences we have already found to begin search for next sequence" but found "//we step over the length of any sequences we have already found to begin search for next sequence"
(#207) Variable "t_slength" must not contain underscores.
(#207) Variable "t_length" must not contain underscores.
(#208) Variable "p_slength" must not contain underscores.
(#208) Variable "p_length" must not contain underscores.
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) No space found before comment text; expected "// get words to compare" but found "//get words to compare"
(#211) Variable "p_slength" must not contain underscores.
(#212) Variable "t_slength" must not contain underscores.
(#215) Inline comments must start with a capital letter, digit or 3-dots sequence
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) No space found before comment text; expected "// check for a forward match" but found "//check for a forward match"
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// we matched a passage word + but did not use the next transcript word, so roll back t_slength" but found "//we matched a passage word + but did not use the next transcript word, so roll back t_slength"
(#220) Variable "t_slength" must not contain underscores.
(#225) Inline comments must start with a capital letter, digit or 3-dots sequence
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) No space found before comment text; expected "// check for a direct match" but found "//check for a direct match"
(#230) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) No space found before comment text; expected "// if no direct match is there an alternates match" but found "//if no direct match is there an alternates match"
(#232) Variable "altsearch_result" must not contain underscores.
(#235) Variable "altsearch_result" must not contain underscores.
(#237) Variable "altsearch_result" must not contain underscores.
(#238) Variable "alt_positions" must not contain underscores.
(#238) Variable "p_slength" must not contain underscores.
(#242) Inline comments must start with a capital letter, digit or 3-dots sequence
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) No space found before comment text; expected "// else check for a generous match(eg for english +s and +ed we give it to them)" but found "//else check for a generous match(eg for english +s and +ed we give it to them)"
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) No space found before comment text; expected "// if we have a match and the passage and transcript each have another word, we will continue" but found "//if we have a match and the passage and transcript each have another word, we will continue"
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) No space found before comment text; expected "// (ie to try to match the next word)" but found "//(ie to try to match the next word)"
(#250) Variable "t_slength" must not contain underscores.
(#250) Variable "t_length" must not contain underscores.
(#251) Variable "p_slength" must not contain underscores.
(#251) Variable "p_length" must not contain underscores.
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) No space found before comment text; expected "// continue building sequence" but found "//continue building sequence"
(#253) Variable "p_slength" must not contain underscores.
(#254) Variable "t_slength" must not contain underscores.
(#256) No space found before comment text; expected "// We add a provisional match here. This means lots of shorter sequences added to sequences[]" but found "//We add a provisional match here. This means lots of shorter sequences added to sequences[]"
(#258) No space found before comment text; expected "// this is necessary for an unusual case where two sequences overlap" but found "//this is necessary for an unusual case where two sequences overlap"
(#259) No space found before comment text; expected "// at the end of one and the beginning of the other." but found "//at the end of one and the beginning of the other."
(#260) No space found before comment text; expected "// without a provisional match, the shorter seq. will lose the election and be unselected at fetchDiffs()" but found "//without a provisional match, the shorter seq. will lose the election and be unselected at fetchDiffs()"
(#261) No space found before comment text; expected "// and the unoverlapped part will be marked unmatched" but found "//and the unoverlapped part will be marked unmatched"
(#262) No space found before comment text; expected "// this occurs with a combination of wildcards and extraneous words in transcript" but found "//this occurs with a combination of wildcards and extraneous words in transcript"
(#263) No space found before comment text; expected "// eg transcript: home is where the heart resides oligarchy it stomach said ..." but found "//eg transcript: home is where the heart resides oligarchy it stomach said ..."
(#264) No space found before comment text; expected "// passage: home is where the heart resides Aragaki Tsutomu said ..." but found "//passage: home is where the heart resides Aragaki Tsutomu said ..."
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#265) No space found before comment text; expected "// wildcards on Aragaki and Tsutomu caused this overlap problem" but found "//wildcards on Aragaki and Tsutomu caused this overlap problem"
(#267) Variable "p_slength" must not contain underscores.
(#268) Variable "t_slength" must not contain underscores.
(#271) Variable "alt_positions" must not contain underscores.
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#274) No space found before comment text; expected "// else: no match or end of transcript/passage," but found "//else: no match or end of transcript/passage,"
(#276) Inline comments must start with a capital letter, digit or 3-dots sequence
(#276) No space found before comment text; expected "// if we have a match here, then its the last word of passage or transcript..." but found "//if we have a match here, then its the last word of passage or transcript..."
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) No space found before comment text; expected "// we build our sequence object, store it in $sequences, and return" but found "//we build our sequence object, store it in $sequences, and return"
(#279) Variable "p_slength" must not contain underscores.
(#280) Variable "t_slength" must not contain underscores.
(#282) Variable "p_slength" must not contain underscores.
(#283) Variable "t_slength" must not contain underscores.
(#286) Variable "alt_positions" must not contain underscores.
(#289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#289) No space found before comment text; expected "// we bump tstart, which will end this loop" but found "//we bump tstart, which will end this loop"
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) No space found before comment text; expected "// and we reset our sequence lengths because the outer loop may yet continue" but found "//and we reset our sequence lengths because the outer loop may yet continue"
(#291) Variable "t_slength" must not contain underscores.
(#292) Variable "p_slength" must not contain underscores.
(#293) Variable "t_slength" must not contain underscores.
(#294) Variable "alt_positions" must not contain underscores.
(#296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) No space found before comment text; expected "// if we never even had a sequence we just move to next word in transcript" but found "//if we never even had a sequence we just move to next word in transcript"
(#297) Variable "p_slength" must not contain underscores.
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) No space found before comment text; expected "// if we had a sequence but this is not a match, we build the sequence object, store it in $sequences," but found "//if we had a sequence but this is not a match, we build the sequence object, store it in $sequences,"
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) No space found before comment text; expected "// step transcript index and look for next sequence" but found "//step transcript index and look for next sequence"
(#304) Variable "p_slength" must not contain underscores.
(#305) Variable "t_slength" must not contain underscores.
(#308) Variable "alt_positions" must not contain underscores.
(#311) Inline comments must start with a capital letter, digit or 3-dots sequence
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) No space found before comment text; expected "// re init transcript loop variables for the next pass" but found "//re init transcript loop variables for the next pass"
(#312) Variable "t_slength" must not contain underscores.
(#313) Variable "p_slength" must not contain underscores.
(#314) Variable "t_slength" must not contain underscores.
(#315) Variable "alt_positions" must not contain underscores.
(#317) Inline comments must start with a capital letter, digit or 3-dots sequence
(#320) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) No space found before comment text; expected "// reset transcript loop variables for each pass of passageword loop" but found "//reset transcript loop variables for each pass of passageword loop"
(#332) The use of function print_r() is forbidden
(#352) Inline comments must start with a capital letter, digit or 3-dots sequence
(#352) No space found before comment text; expected "// loop through all alternatives" but found "//loop through all alternatives"
(#353) Inline comments must end in full-stops, exclamation marks, or question marks
(#353) No space found before comment text; expected "// and then through each alternative->wordset" but found "//and then through each alternative->wordset"
(#359) Inline comments must start with a capital letter, digit or 3-dots sequence
(#359) No space found before comment text; expected "// we no longer process wildcards while matching (we just reverse errors later)" but found "//we no longer process wildcards while matching (we just reverse errors later)"
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) This comment is 60% valid code; is this commented out code?
(#360) No space found before comment text; expected "// if ($wordset[$setindex] == $transcriptword || $wordset[$setindex] == '*') {" but found "//if ($wordset[$setindex] == $transcriptword || $wordset[$setindex] == '*') {"
(#374) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) No space found before comment text; expected "// we return the matchlength" but found "//we return the matchlength"
(#383) Public method name "diff::fetchWildcardsArray" must be in lower-case letters only
(#386) Inline comments must start with a capital letter, digit or 3-dots sequence
(#386) No space found before comment text; expected "// loop through all alternatives" but found "//loop through all alternatives"
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) No space found before comment text; expected "// and then through each alternative->wordset" but found "//and then through each alternative->wordset"
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#398) Inline comments must end in full-stops, exclamation marks, or question marks
(#398) No space found before comment text; expected "// we return the wildczrds" but found "//we return the wildczrds"
(#404) This comment is 59% valid code; is this commented out code?
(#414) Inline comments must start with a capital letter, digit or 3-dots sequence
(#414) No space found before comment text; expected "// for use with PHP usort and arrays of sequences" but found "//for use with PHP usort and arrays of sequences"
(#415) No space found before comment text; expected "// sort array so that long sequences come first." but found "//sort array so that long sequences come first."
(#416) Inline comments must end in full-stops, exclamation marks, or question marks
(#416) No space found before comment text; expected "// if sequences are of equal length, the one whose transcript index is earlier comes first" but found "//if sequences are of equal length, the one whose transcript index is earlier comes first"
(#428) Inline comments must start with a capital letter, digit or 3-dots sequence
(#428) No space found before comment text; expected "// returns an array of "diff" results, one for each word(ie position) in passage" but found "//returns an array of "diff" results, one for each word(ie position) in passage"
(#429) No space found before comment text; expected "// i) default all passage positions to unmatched (self::UNMATCHED)" but found "//i) default all passage positions to unmatched (self::UNMATCHED)"
(#430) No space found before comment text; expected "// ii) sort sequences by length(longer sorts higher), transcript position (earlier sorts higher)" but found "//ii) sort sequences by length(longer sorts higher), transcript position (earlier sorts higher)"
(#431) No space found before comment text; expected "// iii) for each sequence" but found "//iii) for each sequence"
(#432) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#433) Line exceeds 132 characters; contains 142 characters
(#433) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#434) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#435) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#436) No space found before comment text; expected "// iv) we do various adhoc checks based on common problems we find in the wild" but found "//iv) we do various adhoc checks based on common problems we find in the wild"
(#438) No space found before comment text; expected "// NB aborted supporting "multiple word alternatives" at this point. We know the sequence length in transcript" but found "//NB aborted supporting "multiple word alternatives" at this point. We know the sequence length in transcript"
(#439) No space found before comment text; expected "// but we can not add a valid tposition for a pposition in the final diff array when the pposition occurs" but found "//but we can not add a valid tposition for a pposition in the final diff array when the pposition occurs"
(#440) Inline comments must end in full-stops, exclamation marks, or question marks
(#441) Public method name "diff::fetchDiffs" must be in lower-case letters only
(#442) Inline comments must start with a capital letter, digit or 3-dots sequence
(#442) Inline comments must end in full-stops, exclamation marks, or question marks
(#442) No space found before comment text; expected "// i) default passage positions to unmatched and transcript position -1" but found "//i) default passage positions to unmatched and transcript position -1"
(#445) Inline comments must start with a capital letter, digit or 3-dots sequence
(#445) No space found before comment text; expected "// ii) sort sequences by length, transcript posn" but found "//ii) sort sequences by length, transcript posn"
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#446) No space found before comment text; expected "// long sequences sort higher, and are placed in the diff array first" but found "//long sequences sort higher, and are placed in the diff array first"
(#449) Inline comments must start with a capital letter, digit or 3-dots sequence
(#449) Inline comments must end in full-stops, exclamation marks, or question marks
(#449) No space found before comment text; expected "// record prior sequences for iii)" but found "//record prior sequences for iii)"
(#452) Inline comments must start with a capital letter, digit or 3-dots sequence
(#452) Inline comments must end in full-stops, exclamation marks, or question marks
(#452) No space found before comment text; expected "// iii) loop through sequences" but found "//iii) loop through sequences"
(#457) Inline comments must start with a capital letter, digit or 3-dots sequence
(#457) No space found before comment text; expected "// iii) a) check passage position not already matched" but found "//iii) a) check passage position not already matched"
(#458) No space found before comment text; expected "// test with these sequences which should both match and not overlap" but found "//test with these sequences which should both match and not overlap"
(#459) No space found before comment text; expected "// A seq pposition=63 length=18" but found "//A seq pposition=63 length=18"
(#460) No space found before comment text; expected "// B seq pposition=81 length=42" but found "//B seq pposition=81 length=42"
(#461) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) No space found before comment text; expected "// remember that pposition is 0 based and so pposition=0 and length 1, is char 1 only" but found "//remember that pposition is 0 based and so pposition=0 and length 1, is char 1 only"
(#470) Inline comments must start with a capital letter, digit or 3-dots sequence
(#470) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) No space found before comment text; expected "// iii) b) check transcript match was not matched elsewhere in passage" but found "//iii) b) check transcript match was not matched elsewhere in passage"
(#476) Inline comments must start with a capital letter, digit or 3-dots sequence
(#476) Inline comments must end in full-stops, exclamation marks, or question marks
(#476) No space found before comment text; expected "// iii) c) check passsage match and transcript match positions are consistent with prev. sequences" but found "//iii) c) check passsage match and transcript match positions are consistent with prev. sequences"
(#490) Inline comments must start with a capital letter, digit or 3-dots sequence
(#490) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) No space found before comment text; expected "// we do a fuzzy check for various anomalies that can occur" but found "//we do a fuzzy check for various anomalies that can occur"
(#492) Inline comments must start with a capital letter, digit or 3-dots sequence
(#492) Inline comments must end in full-stops, exclamation marks, or question marks
(#492) No space found before comment text; expected "// distance from passage location to transcript location" but found "//distance from passage location to transcript location"
(#495) Inline comments must start with a capital letter, digit or 3-dots sequence
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) No space found before comment text; expected "// distance between passage location and transcript length" but found "//distance between passage location and transcript length"
(#498) Inline comments must start with a capital letter, digit or 3-dots sequence
(#498) Inline comments must end in full-stops, exclamation marks, or question marks
(#498) No space found before comment text; expected "// ratio of alternates to full matches" but found "//ratio of alternates to full matches"
(#506) Inline comments must start with a capital letter, digit or 3-dots sequence
(#506) No space found before comment text; expected "// common is short matches after speaking ends" but found "//common is short matches after speaking ends"
(#507) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) No space found before comment text; expected "// particularly dangerous are wildcards and alternates" but found "//particularly dangerous are wildcards and alternates"
(#519) Inline comments must start with a capital letter, digit or 3-dots sequence
(#519) No space found before comment text; expected "// record sequence as :" but found "//record sequence as :"
(#520) No space found before comment text; expected "// i) matched and" but found "//i) matched and"
(#521) No space found before comment text; expected "// ii) record transcript position so we can play it back." but found "//ii) record transcript position so we can play it back."
(#522) Inline comments must end in full-stops, exclamation marks, or question marks
(#522) No space found before comment text; expected "// Then store sequence in prior sequences" but found "//Then store sequence in prior sequences"
(#524) Inline comments must start with a capital letter, digit or 3-dots sequence
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
(#524) No space found before comment text; expected "// word position in sequence ( 0 = first )" but found "//word position in sequence ( 0 = first )"
(#526) Inline comments must end in full-stops, exclamation marks, or question marks
(#526) No space found before comment text; expected "// NB pposition starts from 1. We adjust tposition to match" but found "//NB pposition starts from 1. We adjust tposition to match"
(#528) Inline comments must start with a capital letter, digit or 3-dots sequence
(#528) No space found before comment text; expected "// was this an alternatives match?" but found "//was this an alternatives match?"
(#540) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) No space found before comment text; expected "// we are debugging return an array with some data we can look at" but found "//we are debugging return an array with some data we can look at"
(#564) Public method name "diff::applyWildcards" must be in lower-case letters only
(#565) Variable "last_tposition" must not contain underscores.
(#566) Variable "last_p" must not contain underscores.
(#568) Inline comments must start with a capital letter, digit or 3-dots sequence
(#568) No space found before comment text; expected "// we do not want to go more than one beyond the last true matched passage word" but found "//we do not want to go more than one beyond the last true matched passage word"
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#569) No space found before comment text; expected "// here we find the last passage match" but found "//here we find the last passage match"
(#572) Variable "last_p" must not contain underscores.
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#576) No space found before comment text; expected "// If there is another passage word after that, it becomes the last possible wildcard match" but found "//If there is another passage word after that, it becomes the last possible wildcard match"
(#577) Variable "last_p" must not contain underscores.
(#578) Variable "last_p" must not contain underscores.
(#578) Variable "last_p" must not contain underscores.
(#581) Inline comments must start with a capital letter, digit or 3-dots sequence
(#581) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) No space found before comment text; expected "// loop through to last acceptable passage word looking for wildcards" but found "//loop through to last acceptable passage word looking for wildcards"
(#582) Variable "last_p" must not contain underscores.
(#584) Variable "last_tposition" must not contain underscores.
(#586) Variable "last_tposition" must not contain underscores.
(#593) A closing tag is not permitted at the end of a PHP file
mod/readaloud/classes/event_observer.php
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// constants::M_TABLE should be deleted elsewhere" but found "//constants::M_TABLE should be deleted elsewhere"
mod/readaloud/classes/form/alternatives.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#5) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5) 75 slashes comments are not allowed; use "// Comment." instead
(#6) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#9) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#14) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#19) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#22) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#23) Inline comments must end in full-stops, exclamation marks, or question marks
(#23) 75 slashes comments are not allowed; use "// Comment." instead
(#25) Inline doc block comments are not allowed; use "// Comment." instead
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) No space found before comment text; expected "// why do we need to include this?" but found "//why do we need to include this?"
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// The alternatives declaration" but found "//The alternatives declaration"
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) This comment is 82% valid code; is this commented out code?
(#68) No space found before comment text; expected "// ('n'=>$moduleinstance->id, 'action'=>'machineregradeall'" but found "//('n'=>$moduleinstance->id, 'action'=>'machineregradeall'"
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// add the action buttons" but found "//add the action buttons"
mod/readaloud/classes/gradenow.php
(#45) Visibility must be declared on method "__construct"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) No space found before comment text; expected "// ai data is useful, but if we don't got it we don't got it." but found "//ai data is useful, but if we don't got it we don't got it."
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) No space found before comment text; expected "// we only load aidata if we reallyhave some, the presence of ai record is no longer a good check" but found "//we only load aidata if we reallyhave some, the presence of ai record is no longer a good check"
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// do we have a transcript ... is the real check" but found "//do we have a transcript ... is the real check"
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// its a little redundancy but we add error count here to make machine eval. error estimation easier" but found "//its a little redundancy but we add error count here to make machine eval. error estimation easier"
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// we need to consider legacy client side URLs and cloud hosted ones" but found "//we need to consider legacy client side URLs and cloud hosted ones"
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// because we may or ay not use AI data we provide a way for the correct data to be used here" but found "//because we may or ay not use AI data we provide a way for the correct data to be used here"
(#143) Variable "force_aimode" must not contain underscores.
(#144) Variable "loading_aidata" must not contain underscores.
(#144) Variable "force_aimode" must not contain underscores.
(#147) Variable "loading_aidata" must not contain underscores.
(#154) Variable "loading_aidata" must not contain underscores.
(#161) Variable "loading_aidata" must not contain underscores.
(#168) Variable "loading_aidata" must not contain underscores.
(#174) Inline comments must start with a capital letter, digit or 3-dots sequence
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) No space found before comment text; expected "// should not get here really" but found "//should not get here really"
(#181) Variable "force_aimode" must not contain underscores.
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) No space found before comment text; expected "// if we are editing and no human has saved, we load AI data to begin with." but found "//if we are editing and no human has saved, we load AI data to begin with."
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) No space found before comment text; expected "// if we only want ai data, during review screen, again we load ai data" but found "//if we only want ai data, during review screen, again we load ai data"
(#186) Variable "loading_aidata" must not contain underscores.
(#186) Variable "force_aimode" must not contain underscores.
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// here we set up any info we need to pass into javascript" but found "//here we set up any info we need to pass into javascript"
(#200) Variable "loading_aidata" must not contain underscores.
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) No space found before comment text; expected "// even in human mode, spot checking is handy so we load ai data for that" but found "//even in human mode, spot checking is handy so we load ai data for that"
(#227) Variable "opts_html" must not contain underscores.
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) No space found before comment text; expected "// these need to be returned and echo'ed to the page" but found "//these need to be returned and echo'ed to the page"
(#241) Variable "opts_html" must not contain underscores.
mod/readaloud/classes/gradenowform.php
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) No space found before comment text; expected "// do we show the next button" but found "//do we show the next button"
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) This comment is 81% valid code; is this commented out code?
(#52) No space found before comment text; expected "// $mform->addElement('text', 'name', 'BB', array('size'=>70));" but found "//$mform->addElement('text', 'name', 'BB', array('size'=>70));"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 75% valid code; is this commented out code?
(#62) Tab found before comment text; expected "// $mform->closeHeaderBefore('buttonar');" but found "// $mform->closeHeaderBefore('buttonar');"
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) This comment is 72% valid code; is this commented out code?
mod/readaloud/classes/output/gradenow_renderer.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#83) Variable "div_fulltranscript" must not contain underscores.
(#83) The use of function print_r() is forbidden
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// sequences" but found "//sequences"
(#86) Variable "debug_sequences" must not contain underscores.
(#88) Variable "debug_sequences" must not contain underscores.
(#88) The use of function print_r() is forbidden
(#91) Variable "div_sequences" must not contain underscores.
(#91) Variable "debug_sequences" must not contain underscores.
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// transcript words" but found "//transcript words"
(#94) Variable "t_words" must not contain underscores.
(#95) Variable "t_usewords" must not contain underscores.
(#96) Variable "t_count" must not contain underscores.
(#97) Variable "t_words" must not contain underscores.
(#97) Variable "t_word" must not contain underscores.
(#98) Variable "t_count" must not contain underscores.
(#99) Variable "t_usewords" must not contain underscores.
(#99) Variable "t_word" must not contain underscores.
(#100) Variable "t_count" must not contain underscores.
(#102) Variable "div_transcript" must not contain underscores.
(#102) Variable "t_usewords" must not contain underscores.
(#104) Variable "h_transcript" must not contain underscores.
(#105) Variable "h_sequences" must not contain underscores.
(#106) Variable "h_fulltranscript" must not contain underscores.
(#107) Variable "h_transcript" must not contain underscores.
(#107) Variable "div_transcript" must not contain underscores.
(#108) Variable "h_sequences" must not contain underscores.
(#108) Variable "div_sequences" must not contain underscores.
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// . $h_fulltranscript . $div_fulltranscript,constants::M_CLASS . '_grading_debuginfo'" but found "//. $h_fulltranscript . $div_fulltranscript,constants::M_CLASS . '_grading_debuginfo'"
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) No space found before comment text; expected "// see: http://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly" but found "//see: http://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly"
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) No space found before comment text; expected "// init the text count" but found "//init the text count"
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) No space found before comment text; expected "// explode missed new lines that had been copied and pasted. eg A[newline]B was not split and was one word" but found "//explode missed new lines that had been copied and pasted. eg A[newline]B was not split and was one word"
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) No space found before comment text; expected "// This resulted in ai selected error words, having different index to their passage text counterpart" but found "//This resulted in ai selected error words, having different index to their passage text counterpart"
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) This comment is 58% valid code; is this commented out code?
(#145) No space found before comment text; expected "// $words = explode($seperator, $node->nodeValue);" but found "//$words = explode($seperator, $node->nodeValue);"
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// if its a new line character from lines_to_brs we add it, but not as a word" but found "//if its a new line character from lines_to_brs we add it, but not as a word"
(#161) This comment is 86% valid code; is this commented out code?
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) No space found before comment text; expected "// $newnode->appendChild($spacenode);" but found "//$newnode->appendChild($spacenode);"
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) This comment is 80% valid code; is this commented out code?
(#162) No space found before comment text; expected "// print_r($newnode);" but found "//print_r($newnode);"
mod/readaloud/classes/output/renderer.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) 3 slashes comments are not allowed; use "// Comment." instead
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 53% valid code; is this commented out code?
(#44) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// show activity link if we are up to it" but found "//show activity link if we are up to it"
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// else lets show a back to top link" but found "//else lets show a back to top link"
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) No space found before comment text; expected "// set up our table" but found "//set up our table"
(#155) Variable "total_mistranscriptions" must not contain underscores.
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) No space found before comment text; expected "// if this was not a mistranscription, skip" but found "//if this was not a mistranscription, skip"
(#173) Variable "mistrans_count" must not contain underscores.
(#179) Variable "mistrans_count" must not contain underscores.
(#181) Variable "total_mistranscriptions" must not contain underscores.
(#181) Variable "mistrans_count" must not contain underscores.
(#183) Variable "mistrans_count" must not contain underscores.
(#199) Variable "total_mistranscriptions" must not contain underscores.
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) No space found before comment text; expected "// set up datatables" but found "//set up datatables"
(#374) Inline comments must start with a capital letter, digit or 3-dots sequence
(#374) No space found before comment text; expected "// recorder" but found "//recorder"
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) No space found before comment text; expected "// =======================================" but found "//======================================="
(#381) Variable "string_hints" must not contain underscores.
(#383) Variable "can_transcribe" must not contain underscores.
(#384) Variable "can_transcribe" must not contain underscores.
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) This comment is 100% valid code; is this commented out code?
(#396) No space found before comment text; expected "// 'data-iframeclass'=>"letsberesponsive"," but found "//'data-iframeclass'=>"letsberesponsive","
(#405) Variable "string_hints" must not contain underscores.
(#406) Inline comments must start with a capital letter, digit or 3-dots sequence
(#406) No space found before comment text; expected "// localhost" but found "//localhost"
(#407) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) This comment is 75% valid code; is this commented out code?
(#407) No space found before comment text; expected "// 'data-token'=>"643eba92a1447ac0c6a882c85051461a" //cloudpoodll" but found "//'data-token'=>"643eba92a1447ac0c6a882c85051461a" //cloudpoodll"
(#412) Inline comments must start with a capital letter, digit or 3-dots sequence
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) No space found before comment text; expected "// =======================================" but found "//======================================="
(#416) Inline comments must start with a capital letter, digit or 3-dots sequence
(#416) Inline comments must end in full-stops, exclamation marks, or question marks
(#416) No space found before comment text; expected "// prepare output" but found "//prepare output"
(#419) Inline comments must start with a capital letter, digit or 3-dots sequence
(#419) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) No space found before comment text; expected "// return it" but found "//return it"
(#423) Visibility must be declared on method "fetch_activity_amd"
(#425) Inline comments must start with a capital letter, digit or 3-dots sequence
(#425) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) No space found before comment text; expected "// any html we want to return to be sent to the page" but found "//any html we want to return to be sent to the page"
(#426) Variable "ret_html" must not contain underscores.
(#428) Inline comments must start with a capital letter, digit or 3-dots sequence
(#428) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) No space found before comment text; expected "// here we set up any info we need to pass into javascript" but found "//here we set up any info we need to pass into javascript"
(#431) Inline comments must start with a capital letter, digit or 3-dots sequence
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#431) No space found before comment text; expected "// recorder html ids" but found "//recorder html ids"
(#436) Inline comments must start with a capital letter, digit or 3-dots sequence
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) No space found before comment text; expected "// activity html ids" but found "//activity html ids"
(#448) Inline comments must start with a capital letter, digit or 3-dots sequence
(#448) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) No space found before comment text; expected "// we need an update control tp hold the recorded filename, and one for draft item id" but found "//we need an update control tp hold the recorded filename, and one for draft item id"
(#449) Variable "ret_html" must not contain underscores.
(#449) Variable "ret_html" must not contain underscores.
(#451) Inline comments must start with a capital letter, digit or 3-dots sequence
(#451) No space found before comment text; expected "// this inits the M.mod_readaloud thingy, after the page has loaded." but found "//this inits the M.mod_readaloud thingy, after the page has loaded."
(#452) No space found before comment text; expected "// we put the opts in html on the page because moodle/AMD doesn't like lots of opts in js" but found "//we put the opts in html on the page because moodle/AMD doesn't like lots of opts in js"
(#453) Inline comments must end in full-stops, exclamation marks, or question marks
(#453) No space found before comment text; expected "// convert opts to json" but found "//convert opts to json"
(#456) Variable "opts_html" must not contain underscores.
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) No space found before comment text; expected "// the recorder div" but found "//the recorder div"
(#460) Variable "ret_html" must not contain underscores.
(#460) Variable "ret_html" must not contain underscores.
(#460) Variable "opts_html" must not contain underscores.
(#466) Inline comments must start with a capital letter, digit or 3-dots sequence
(#466) Inline comments must end in full-stops, exclamation marks, or question marks
(#466) No space found before comment text; expected "// these need to be returned and echo'ed to the page" but found "//these need to be returned and echo'ed to the page"
(#467) Variable "ret_html" must not contain underscores.
mod/readaloud/classes/output/report_renderer.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Expected MOODLE_INTERNAL check or config.php inclusion
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// convert formdata to array" but found "//convert formdata to array"
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// convert formdata to array" but found "//convert formdata to array"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) This comment is 100% valid code; is this commented out code?
(#84) No space found before comment text; expected "// "\t";" but found "//"\t";"
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) No space found before comment text; expected "// echo header" but found "//echo header"
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// echo data rows" but found "//echo data rows"
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// set up our table and head attributes" but found "//set up our table and head attributes"
(#116) Variable "headrow_attributes" must not contain underscores.
(#122) Variable "headrow_attributes" must not contain underscores.
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) No space found before comment text; expected "// set up descrption cell" but found "//set up descrption cell"
(#146) Visibility must be declared on method "show_reports_footer"
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Visibility must be declared on method "show_perpage_selector"
(#170) Visibility must be declared on method "show_paging_bar"
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) No space found before comment text; expected "// add paging params to url (NOT pageno)" but found "//add paging params to url (NOT pageno)"
(#177) Visibility must be declared on method "show_grading_footer"
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Visibility must be declared on method "show_export_buttons"
(#197) Visibility must be declared on method "show_machinegrading_footer"
(#198) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/classes/privacy/provider.php
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// 3.3 user_provider not backported so we use this switch to avoid errors when using same codebase for 3.3 and higher" but found "//3.3 user_provider not backported so we use this switch to avoid errors when using same codebase for 3.3 and higher"
(#44) Duplicate interface name "mod_readaloud\privacy\the_user_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/readaloud/classes/privacy/provider.php on line 41
(#47) Space found before semicolon; expected "};" but found "} ;"
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// user provider 3.4 and above" but found "//user provider 3.4 and above"
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/classes/report/attempts.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) This comment is 72% valid code; is this commented out code?
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) This comment is 59% valid code; is this commented out code?
(#94) No space found before comment text; expected "// $ec = $this->fetch_cache(constants::M_TABLE,$record->englishcentralid);" but found "//$ec = $this->fetch_cache(constants::M_TABLE,$record->englishcentralid);"
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) No space found before comment text; expected "// heading data" but found "//heading data"
mod/readaloud/classes/report/basereport.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#20) Inline doc block comments are not allowed; use "// Comment." instead
(#52) Visibility must be declared on method "process_raw_data"
(#54) Visibility must be declared on method "fetch_formatted_heading"
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) No space found before comment text; expected "// return empty string if the timestamps are not both present." but found "//return empty string if the timestamps are not both present."
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) No space found before comment text; expected "// return empty string if the timestamps are not both present." but found "//return empty string if the timestamps are not both present."
mod/readaloud/classes/report/basic.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Expected MOODLE_INTERNAL check or config.php inclusion
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// heading data" but found "//heading data"
mod/readaloud/classes/report/grading.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Variable "has_ai_grade" must not contain underscores.
(#54) This comment is 72% valid code; is this commented out code?
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// WPM could hold either human or AI data" but found "//WPM could hold either human or AI data"
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#69) Variable "has_ai_grade" must not contain underscores.
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// accuracy could hold either human or ai data" but found "//accuracy could hold either human or ai data"
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#79) Variable "has_ai_grade" must not contain underscores.
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// grade could hold either human or ai data" but found "//grade could hold either human or ai data"
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#89) Variable "has_ai_grade" must not contain underscores.
(#97) Variable "has_ai_grade" must not contain underscores.
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) No space found before comment text; expected "// this will load AI data and start from there, currently hidden from menu to keep it simple." but found "//this will load AI data and start from there, currently hidden from menu to keep it simple."
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) This comment is 59% valid code; is this commented out code?
(#169) No space found before comment text; expected "// $ec = $this->fetch_cache(constants::M_TABLE,$record->englishcentralid);" but found "//$ec = $this->fetch_cache(constants::M_TABLE,$record->englishcentralid);"
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) No space found before comment text; expected "// heading data" but found "//heading data"
(#181) Variable "user_attempt_totals" must not contain underscores.
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) No space found before comment text; expected "// if we are not machine grading the SQL is simpler" but found "//if we are not machine grading the SQL is simpler"
(#184) Variable "human_sql" must not contain underscores.
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// if we are machine grading we need to fetch human and machine so we can get WPM etc from either" but found "//if we are machine grading we need to fetch human and machine so we can get WPM etc from either"
(#189) Variable "hybrid_sql" must not contain underscores.
(#190) Line exceeds 132 characters; contains 155 characters
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) No space found before comment text; expected "// we need a module instance to know which scoring method we are using." but found "//we need a module instance to know which scoring method we are using."
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) No space found before comment text; expected "// run the sql and match up WPM/ accuracy and sessionscore if we need to" but found "//run the sql and match up WPM/ accuracy and sessionscore if we need to"
(#202) Variable "hybrid_sql" must not contain underscores.
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) No space found before comment text; expected "// sessiontime is our indicator that a human grade has been saved." but found "//sessiontime is our indicator that a human grade has been saved."
(#214) Variable "human_sql" must not contain underscores.
(#217) Inline comments must start with a capital letter, digit or 3-dots sequence
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) No space found before comment text; expected "// loop through data getting most recent attempt" but found "//loop through data getting most recent attempt"
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) No space found before comment text; expected "// we ony take the most recent attempt" but found "//we ony take the most recent attempt"
(#223) Variable "user_attempt_totals" must not contain underscores.
(#224) Variable "user_attempt_totals" must not contain underscores.
(#224) Variable "user_attempt_totals" must not contain underscores.
(#227) Variable "user_attempt_totals" must not contain underscores.
(#235) Variable "user_attempt_totals" must not contain underscores.
mod/readaloud/classes/report/gradingbyuser.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Variable "has_ai_grade" must not contain underscores.
(#45) This comment is 72% valid code; is this commented out code?
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// WPM could hold either human or AI data" but found "//WPM could hold either human or AI data"
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#60) Variable "has_ai_grade" must not contain underscores.
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// accuracy could hold either human or ai data" but found "//accuracy could hold either human or ai data"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#70) Variable "has_ai_grade" must not contain underscores.
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// grade could hold either human or ai data" but found "//grade could hold either human or ai data"
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// if not human or ai graded" but found "//if not human or ai graded"
(#80) Variable "has_ai_grade" must not contain underscores.
(#88) Variable "has_ai_grade" must not contain underscores.
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) No space found before comment text; expected "// heading data" but found "//heading data"
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// heading data" but found "//heading data"
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) No space found before comment text; expected "// if we are not machine grading the SQL is simpler" but found "//if we are not machine grading the SQL is simpler"
(#148) Variable "human_sql" must not contain underscores.
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) No space found before comment text; expected "// if we are machine grading we need to fetch human and machine so we can get WPM etc from either" but found "//if we are machine grading we need to fetch human and machine so we can get WPM etc from either"
(#154) Variable "hybrid_sql" must not contain underscores.
(#155) Line exceeds 132 characters; contains 157 characters
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) No space found before comment text; expected "// we need a module instance to know which scoring method we are using." but found "//we need a module instance to know which scoring method we are using."
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) No space found before comment text; expected "// run the sql and match up WPM/ accuracy and sessionscore if we need to" but found "//run the sql and match up WPM/ accuracy and sessionscore if we need to"
(#168) Variable "hybrid_sql" must not contain underscores.
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) No space found before comment text; expected "// sessiontime is our indicator that a human grade has been saved." but found "//sessiontime is our indicator that a human grade has been saved."
(#180) Variable "human_sql" must not contain underscores.
mod/readaloud/classes/report/machinegrading.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) This comment is 72% valid code; is this commented out code?
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// we took this button away to make some room" but found "//we took this button away to make some room"
(#99) This comment is 75% valid code; is this commented out code?
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) No space found before comment text; expected "// case 'regrade':" but found "//case 'regrade':"
(#100) No space found before comment text; expected "// this will be useful once we add hints to passage markup, and when you change machine algorythms and processing" but found "//this will be useful once we add hints to passage markup, and when you change machine algorythms and processing"
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) This comment is 75% valid code; is this commented out code?
(#101) No space found before comment text; expected "// case "review":" but found "//case "review":"
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// FOR REGRADE ... when fixing bogeys (replace review link with this one)" but found "//FOR REGRADE ... when fixing bogeys (replace review link with this one)"
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// do we need this..? hid it for now" but found "//do we need this..? hid it for now"
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) No space found before comment text; expected "// heading data" but found "//heading data"
(#173) Variable "user_attempt_totals" must not contain underscores.
(#178) Line exceeds 132 characters; contains 143 characters
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) No space found before comment text; expected "// we ony take the max (attempt, accuracy, wpm ..)" but found "//we ony take the max (attempt, accuracy, wpm ..)"
(#186) Variable "user_attempt_totals" must not contain underscores.
(#187) Variable "user_attempt_totals" must not contain underscores.
(#187) Variable "user_attempt_totals" must not contain underscores.
(#189) Variable "user_attempt_totals" must not contain underscores.
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) No space found before comment text; expected "// make the audio url for the selected attempt data" but found "//make the audio url for the selected attempt data"
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) No space found before comment text; expected "// fetch and poke in the adjusted scores here, though we could also do it from" but found "//fetch and poke in the adjusted scores here, though we could also do it from"
(#203) No space found before comment text; expected "// fetch formatted field" but found "//fetch formatted field"
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) No space found before comment text; expected "// we need to calc the no. of errors and adjust" but found "//we need to calc the no. of errors and adjust"
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) No space found before comment text; expected "// recalculate scores with new errorcount" but found "//recalculate scores with new errorcount"
(#211) Variable "adjusted_scores" must not contain underscores.
(#215) Variable "adjusted_scores" must not contain underscores.
(#216) Variable "adjusted_scores" must not contain underscores.
(#217) Variable "adjusted_scores" must not contain underscores.
(#221) Variable "user_attempt_totals" must not contain underscores.
mod/readaloud/classes/report/machinegradingbyuser.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Expected MOODLE_INTERNAL check or config.php inclusion
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// FOR NOW WE REFGRADE ... just temp. while fixing bogeys" but found "//FOR NOW WE REFGRADE ... just temp. while fixing bogeys"
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) No space found before comment text; expected "// heading data" but found "//heading data"
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) No space found before comment text; expected "// heading data" but found "//heading data"
(#100) Variable "user_attempt_totals" must not contain underscores.
(#102) Line exceeds maximum limit of 180 characters; contains 186 characters
(#104) Line exceeds 132 characters; contains 143 characters
mod/readaloud/classes/task/readaloud_s3_adhoc.php
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// CD should contain activityid / attemptid and modulecontextid" but found "//CD should contain activityid / attemptid and modulecontextid"
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 75% valid code; is this commented out code?
(#50) No space found before comment text; expected "// $trace->output($cd->somedata)" but found "//$trace->output($cd->somedata)"
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// if we got here, we have transcripts and we do not need to come back" but found "//if we got here, we have transcripts and we do not need to come back"
(#91) Variable "s3_task" must not contain underscores.
(#92) Variable "s3_task" must not contain underscores.
(#93) Variable "s3_task" must not contain underscores.
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Variable "s3_task" must not contain underscores.
mod/readaloud/classes/task/readaloud_scheduled.php
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 80% valid code; is this commented out code?
(#50) No space found before comment text; expected "// readaloud_dotask($trace);" but found "//readaloud_dotask($trace);"
mod/readaloud/classes/utils.php
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// we need to consider legacy client side URLs and cloud hosted ones" but found "//we need to consider legacy client side URLs and cloud hosted ones"
(#40) Public method name "utils::make_audio_URL" must be in lower-case letters only
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// we need to consider legacy client side URLs and cloud hosted ones" but found "//we need to consider legacy client side URLs and cloud hosted ones"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) No space found before comment text; expected "// are we willing and able to transcribe submissions?" but found "//are we willing and able to transcribe submissions?"
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) No space found before comment text; expected "// we default to true" but found "//we default to true"
(#56) No space found before comment text; expected "// but it only takes one no ...." but found "//but it only takes one no ...."
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// The regions that can transcribe" but found "//The regions that can transcribe"
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// if user disables ai, we do not transcribe" but found "//if user disables ai, we do not transcribe"
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// see if this is truly json or some error" but found "//see if this is truly json or some error"
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) No space found before comment text; expected "// we use curl to fetch transcripts from AWS and Tokens from cloudpoodll" but found "//we use curl to fetch transcripts from AWS and Tokens from cloudpoodll"
(#91) No space found before comment text; expected "// this is our helper" but found "//this is our helper"
(#92) No space found before comment text; expected "// we use curl to fetch transcripts from AWS and Tokens from cloudpoodll" but found "//we use curl to fetch transcripts from AWS and Tokens from cloudpoodll"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// this is our helper" but found "//this is our helper"
(#104) No space found before comment text; expected "// This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings" but found "//This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings"
(#105) No space found before comment text; expected "// page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a" but found "//page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a"
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) No space found before comment text; expected "// "refresh token" links" but found "//"refresh token" links"
(#110) No space found before comment text; expected "// First check that we have an API id and secret" but found "//First check that we have an API id and secret"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// refresh token" but found "//refresh token"
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// Fetch from cache and process the results and display" but found "//Fetch from cache and process the results and display"
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) No space found before comment text; expected "// if we have no token object the creds were wrong ... or something" but found "//if we have no token object the creds were wrong ... or something"
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// if we have an object but its no good, creds werer wrong ..or something" but found "//if we have an object but its no good, creds werer wrong ..or something"
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) No space found before comment text; expected "// if we do not have subs, then we are on a very old token or something is wrong, just get out of here." but found "//if we do not have subs, then we are on a very old token or something is wrong, just get out of here."
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) No space found before comment text; expected "// we have enough info to display a report. Lets go." but found "//we have enough info to display a report. Lets go."
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) No space found before comment text; expected "// Is app authorised" but found "//Is app authorised"
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) No space found before comment text; expected "// We need a Poodll token to make all this recording and transcripts happen" but found "//We need a Poodll token to make all this recording and transcripts happen"
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) No space found before comment text; expected "// if we got a token and its less than expiry time" but found "//if we got a token and its less than expiry time"
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Variable "token_url" must not contain underscores.
(#187) Variable "token_response" must not contain underscores.
(#187) Variable "token_url" must not contain underscores.
(#188) Variable "token_response" must not contain underscores.
(#189) Variable "resp_object" must not contain underscores.
(#189) Variable "token_response" must not contain underscores.
(#190) Variable "resp_object" must not contain underscores.
(#190) Variable "resp_object" must not contain underscores.
(#191) Variable "resp_object" must not contain underscores.
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) No space found before comment text; expected "// store the expiry timestamp and adjust it for diffs between our server times" but found "//store the expiry timestamp and adjust it for diffs between our server times"
(#193) Variable "resp_object" must not contain underscores.
(#194) Variable "resp_object" must not contain underscores.
(#194) Variable "resp_object" must not contain underscores.
(#195) Inline comments must start with a capital letter, digit or 3-dots sequence
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) No space found before comment text; expected "// we refresh one hour out, to prevent any overlap" but found "//we refresh one hour out, to prevent any overlap"
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// cache the token" but found "//cache the token"
(#208) Variable "resp_object" must not contain underscores.
(#209) Variable "resp_object" must not contain underscores.
(#211) Variable "resp_object" must not contain underscores.
(#212) Variable "resp_object" must not contain underscores.
(#214) Variable "resp_object" must not contain underscores.
(#215) Variable "resp_object" must not contain underscores.
(#223) Empty IF statement detected
(#223) Variable "resp_object" must not contain underscores.
(#223) Variable "resp_object" must not contain underscores.
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) No space found before comment text; expected "// ERROR = $resp_object->error" but found "//ERROR = $resp_object->error"
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) No space found before comment text; expected "// see https://stackoverflow.com/questions/5946114/how-to-replace-newline-or-r-n-with-br" but found "//see https://stackoverflow.com/questions/5946114/how-to-replace-newline-or-r-n-with-br"
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) No space found before comment text; expected "// this is better but we can not pad the replacement and we need that" but found "//this is better but we can not pad the replacement and we need that"
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) This comment is 72% valid code; is this commented out code?
(#244) No space found before comment text; expected "// return nl2br($passage);" but found "//return nl2br($passage);"
(#248) Inline comments must start with a capital letter, digit or 3-dots sequence
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) No space found before comment text; expected "// if we do not have the full transcript return 0" but found "//if we do not have the full transcript return 0"
(#264) Inline comments must start with a capital letter, digit or 3-dots sequence
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) No space found before comment text; expected "// if we do not have the full transcript return 0" but found "//if we do not have the full transcript return 0"
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) No space found before comment text; expected "// if we do not have the full transcript return 0" but found "//if we do not have the full transcript return 0"
(#293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#293) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) No space found before comment text; expected "// create a big array of 'words' from gjson sentences" but found "//create a big array of 'words' from gjson sentences"
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) No space found before comment text; expected "// first check if we have a fulltranscript (we might only have a transcript in some cases)" but found "//first check if we have a fulltranscript (we might only have a transcript in some cases)"
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) No space found before comment text; expected "// if not we just return dummy audio points. Que sera sera" but found "//if not we just return dummy audio points. Que sera sera"
(#328) Inline comments must start with a capital letter, digit or 3-dots sequence
(#328) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) No space found before comment text; expected "// fetch start-time and end-time points for each word" but found "//fetch start-time and end-time points for each word"
(#331) Inline comments must start with a capital letter, digit or 3-dots sequence
(#331) No space found before comment text; expected "// get type 'pronunciation' items from full transcript. The other type is 'punctuation'." but found "//get type 'pronunciation' items from full transcript. The other type is 'punctuation'."
(#341) Inline comments must start with a capital letter, digit or 3-dots sequence
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) No space found before comment text; expected "// loop through matches and fetch audio start from word item" but found "//loop through matches and fetch audio start from word item"
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) Inline comments must end in full-stops, exclamation marks, or question marks
(#344) No space found before comment text; expected "// pull the word data object from the full transcript, at the index of the match" but found "//pull the word data object from the full transcript, at the index of the match"
(#347) Inline comments must start with a capital letter, digit or 3-dots sequence
(#347) No space found before comment text; expected "// trust or be sure by matching ..." but found "//trust or be sure by matching ..."
(#353) Inline comments must start with a capital letter, digit or 3-dots sequence
(#353) Inline comments must end in full-stops, exclamation marks, or question marks
(#353) No space found before comment text; expected "// format the text of the word to lower case no punc, to match the word in the matchitem" but found "//format the text of the word to lower case no punc, to match the word in the matchitem"
(#354) Variable "tword_text" must not contain underscores.
(#355) Variable "tword_text" must not contain underscores.
(#355) Variable "tword_text" must not contain underscores.
(#356) Inline comments must start with a capital letter, digit or 3-dots sequence
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) No space found before comment text; expected "// if we got it, fetch the audio position from the word data object" but found "//if we got it, fetch the audio position from the word data object"
(#357) Variable "tword_text" must not contain underscores.
(#361) Inline comments must start with a capital letter, digit or 3-dots sequence
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#361) No space found before comment text; expected "// do alternatives search for match" but found "//do alternatives search for match"
(#363) Variable "tword_text" must not contain underscores.
(#374) Inline comments must start with a capital letter, digit or 3-dots sequence
(#374) Inline comments must end in full-stops, exclamation marks, or question marks
(#374) No space found before comment text; expected "// fetch start-time and end-time points for each word" but found "//fetch start-time and end-time points for each word"
(#377) Inline comments must start with a capital letter, digit or 3-dots sequence
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) No space found before comment text; expected "// create a big array of 'words' from gjson sentences" but found "//create a big array of 'words' from gjson sentences"
(#384) Inline comments must start with a capital letter, digit or 3-dots sequence
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) No space found before comment text; expected "// loop through matches and fetch audio start from word item" but found "//loop through matches and fetch audio start from word item"
(#387) Inline comments must start with a capital letter, digit or 3-dots sequence
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) No space found before comment text; expected "// pull the word data object from the full transcript, at the index of the match" but found "//pull the word data object from the full transcript, at the index of the match"
(#389) Inline comments must start with a capital letter, digit or 3-dots sequence
(#389) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) No space found before comment text; expected "// make startTime and endTime match the regular format" but found "//make startTime and endTime match the regular format"
(#390) Variable "start_time" must not contain underscores.
(#391) Variable "end_time" must not contain underscores.
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) No space found before comment text; expected "// trust or be sure by matching ..." but found "//trust or be sure by matching ..."
(#396) Variable "start_time" must not contain underscores.
(#397) Variable "end_time" must not contain underscores.
(#399) Inline comments must start with a capital letter, digit or 3-dots sequence
(#399) Inline comments must end in full-stops, exclamation marks, or question marks
(#399) No space found before comment text; expected "// format the text of the word to lower case no punc, to match the word in the matchitem" but found "//format the text of the word to lower case no punc, to match the word in the matchitem"
(#400) Variable "tword_text" must not contain underscores.
(#401) Variable "tword_text" must not contain underscores.
(#401) Variable "tword_text" must not contain underscores.
(#402) Inline comments must start with a capital letter, digit or 3-dots sequence
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#402) No space found before comment text; expected "// if we got it, fetch the audio position from the word data object" but found "//if we got it, fetch the audio position from the word data object"
(#403) Variable "tword_text" must not contain underscores.
(#404) Variable "start_time" must not contain underscores.
(#405) Variable "end_time" must not contain underscores.
(#407) Inline comments must start with a capital letter, digit or 3-dots sequence
(#407) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) No space found before comment text; expected "// do alternatives search for match" but found "//do alternatives search for match"
(#409) Variable "tword_text" must not contain underscores.
(#411) Variable "start_time" must not contain underscores.
(#412) Variable "end_time" must not contain underscores.
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) No space found before comment text; expected "// this is a server side implementation of the same name function in gradenowhelper.js" but found "//this is a server side implementation of the same name function in gradenowhelper.js"
(#422) No space found before comment text; expected "// we need this when calculating adjusted grades(reports/machinegrading.php) and on making machine grades(aigrade.php)" but found "//we need this when calculating adjusted grades(reports/machinegrading.php) and on making machine grades(aigrade.php)"
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) No space found before comment text; expected "// the WPM adjustment based on accadjust only applies to machine grades, so it is NOT in gradenowhelper" but found "//the WPM adjustment based on accadjust only applies to machine grades, so it is NOT in gradenowhelper"
(#426) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) 4 slashes comments are not allowed; use "// Comment." instead
(#426) No space found before comment text; expected "// wpm score" but found "////wpm score"
(#442) Must use "self::" for local static member reference
(#460) Inline comments must start with a capital letter, digit or 3-dots sequence
(#460) Inline comments must end in full-stops, exclamation marks, or question marks
(#460) No space found before comment text; expected "// accuracy score" but found "//accuracy score"
(#467) Inline comments must start with a capital letter, digit or 3-dots sequence
(#467) Inline comments must end in full-stops, exclamation marks, or question marks
(#467) No space found before comment text; expected "// sessionscore" but found "//sessionscore"
(#483) Inline comments must start with a capital letter, digit or 3-dots sequence
(#483) No space found before comment text; expected "// take a json string of session errors, anmd count how many there are." but found "//take a json string of session errors, anmd count how many there are."
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) No space found before comment text; expected "// get all the aievaluations for a user" but found "//get all the aievaluations for a user"
(#503) Inline comments must start with a capital letter, digit or 3-dots sequence
(#503) No space found before comment text; expected "// get average difference between human graded attempt error count and AI error count" but found "//get average difference between human graded attempt error count and AI error count"
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#504) No space found before comment text; expected "// we only fetch if A) have machine grade and B) sessiontime> 0(has been manually graded)" but found "//we only fetch if A) have machine grade and B) sessiontime> 0(has been manually graded)"
(#519) Line indented incorrectly; expected at least 4 spaces, found 2
(#521) Line exceeds 132 characters; contains 150 characters
(#522) Line indented incorrectly; expected at least 4 spaces, found 3
(#529) Inline comments must start with a capital letter, digit or 3-dots sequence
(#529) Inline comments must end in full-stops, exclamation marks, or question marks
(#529) This comment is 54% valid code; is this commented out code?
(#529) No space found before comment text; expected "// $alternatives = diff::fetchAlternativesArray($activity->alternatives);" but found "//$alternatives = diff::fetchAlternativesArray($activity->alternatives);"
(#538) Inline comments must start with a capital letter, digit or 3-dots sequence
(#538) Inline comments must end in full-stops, exclamation marks, or question marks
(#538) No space found before comment text; expected "// aggregate results" but found "//aggregate results"
(#540) Variable "aggregate_set" must not contain underscores.
(#545) Variable "aggregate_set" must not contain underscores.
(#546) Variable "aggregate_set" must not contain underscores.
(#548) Variable "aggregate_set" must not contain underscores.
(#552) Variable "aggregate_set" must not contain underscores.
(#561) Line indented incorrectly; expected at least 4 spaces, found 3
(#583) Line indented incorrectly; expected at least 4 spaces, found 3
(#584) Line indented incorrectly; expected at least 4 spaces, found 3
(#590) Inline comments must start with a capital letter, digit or 3-dots sequence
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) No space found before comment text; expected "// if we have a problem with matches (bad data?) just return" but found "//if we have a problem with matches (bad data?) just return"
(#595) Inline comments must start with a capital letter, digit or 3-dots sequence
(#595) Inline comments must end in full-stops, exclamation marks, or question marks
(#595) No space found before comment text; expected "// count transcript words" but found "//count transcript words"
(#601) Inline comments must start with a capital letter, digit or 3-dots sequence
(#601) Inline comments must end in full-stops, exclamation marks, or question marks
(#601) No space found before comment text; expected "// build a quick to search array of matched words" but found "//build a quick to search array of matched words"
(#607) Inline comments must start with a capital letter, digit or 3-dots sequence
(#607) Inline comments must end in full-stops, exclamation marks, or question marks
(#607) No space found before comment text; expected "// find startindex" but found "//find startindex"
(#618) Inline comments must start with a capital letter, digit or 3-dots sequence
(#618) Inline comments must end in full-stops, exclamation marks, or question marks
(#618) No space found before comment text; expected "// find endindex" but found "//find endindex"
(#623) Inline comments must start with a capital letter, digit or 3-dots sequence
(#623) Inline comments must end in full-stops, exclamation marks, or question marks
(#623) No space found before comment text; expected "// if we matched then the previous transcript word is the last unmatched one in the checkindex sequence" but found "//if we matched then the previous transcript word is the last unmatched one in the checkindex sequence"
(#630) Inline comments must start with a capital letter, digit or 3-dots sequence
(#630) Inline comments must end in full-stops, exclamation marks, or question marks
(#630) No space found before comment text; expected "// if there was no previous matched word, we set start to 1" but found "//if there was no previous matched word, we set start to 1"
(#634) Inline comments must start with a capital letter, digit or 3-dots sequence
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#634) No space found before comment text; expected "// if there was no subsequent matched word we flag the end as the -1" but found "//if there was no subsequent matched word we flag the end as the -1"
(#637) Inline comments must start with a capital letter, digit or 3-dots sequence
(#637) No space found before comment text; expected "// an edge case is where the first word is not in transcript and first match is the second or later passage" but found "//an edge case is where the first word is not in transcript and first match is the second or later passage"
(#638) Inline comments must end in full-stops, exclamation marks, or question marks
(#638) No space found before comment text; expected "// word. It might not be possible for endindex to be lower than start index, but we don't want it anyway" but found "//word. It might not be possible for endindex to be lower than start index, but we don't want it anyway"
(#643) Inline comments must start with a capital letter, digit or 3-dots sequence
(#643) No space found before comment text; expected "// up until this point the indexes have started from 1, since the passage word numbers start from 1" but found "//up until this point the indexes have started from 1, since the passage word numbers start from 1"
(#644) No space found before comment text; expected "// but the transcript array is 0 based so we adjust. array_slice function does not include item and endindex" but found "//but the transcript array is 0 based so we adjust. array_slice function does not include item and endindex"
(#645) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) 3 slashes comments are not allowed; use "// Comment." instead
(#645) No space found before comment text; expected "// so it needs to be one more then start index. hence we do not adjust that" but found "///so it needs to be one more then start index. hence we do not adjust that"
(#648) Inline comments must start with a capital letter, digit or 3-dots sequence
(#648) Inline comments must end in full-stops, exclamation marks, or question marks
(#648) No space found before comment text; expected "// finally we return the section of transcript" but found "//finally we return the section of transcript"
(#692) Inline comments must end in full-stops, exclamation marks, or question marks
(#692) No space found before comment text; expected "// What to show students after an attempt" but found "//What to show students after an attempt"
(#701) Inline comments must end in full-stops, exclamation marks, or question marks
(#701) No space found before comment text; expected "// What multi-attempt grading approach" but found "//What multi-attempt grading approach"
(#709) Line exceeds 132 characters; contains 149 characters
(#709) Inline comments must start with a capital letter, digit or 3-dots sequence
(#709) Inline comments must end in full-stops, exclamation marks, or question marks
(#709) No space found before comment text; expected "// for error estimate and accuracy adjustment, we can auto estimate errors, never estimate errors, or use a fixed error estimate, or ignore errors" but found "//for error estimate and accuracy adjustment, we can auto estimate errors, never estimate errors, or use a fixed error estimate, or ignore errors"
(#713) Inline comments must start with a capital letter, digit or 3-dots sequence
(#713) Inline comments must end in full-stops, exclamation marks, or question marks
(#713) This comment is 54% valid code; is this commented out code?
(#713) No space found before comment text; expected "// constants::ACCMETHOD_AUTO => get_string("accmethod_auto",constants::M_COMPONENT)," but found "//constants::ACCMETHOD_AUTO => get_string("accmethod_auto",constants::M_COMPONENT),"
(#789) This comment is 80% valid code; is this commented out code?
mod/readaloud/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/readaloud/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
mod/readaloud/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/readaloud/db/tasks.php
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/readaloud/db/uninstall.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
mod/readaloud/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Line exceeds 132 characters; contains 133 characters
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) No space found before comment text; expected "// records the matched words in the passage and their transcript location. For debugging, passage tweaking, and audio location" but found "//records the matched words in the passage and their transcript location. For debugging, passage tweaking, and audio location"
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#236) Inline comments must start with a capital letter, digit or 3-dots sequence
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) No space found before comment text; expected "// add field to attempts table" but found "//add field to attempts table"
(#242) Inline comments must start with a capital letter, digit or 3-dots sequence
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) No space found before comment text; expected "// This adds the post attempt display options for each of the evaluation methods (machine and human)" but found "//This adds the post attempt display options for each of the evaluation methods (machine and human)"
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) No space found before comment text; expected "// This adds the post attempt display options for each of the evaluation methods (machine and human)" but found "//This adds the post attempt display options for each of the evaluation methods (machine and human)"
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#289) Inline comments must end in full-stops, exclamation marks, or question marks
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#304) Inline comments must start with a capital letter, digit or 3-dots sequence
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) No space found before comment text; expected "// This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors" but found "//This allows the activity admin to compensate for a certain no. of errors to compensate for machine transcription errors"
(#319) Inline comments must start with a capital letter, digit or 3-dots sequence
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/grade.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/gradesadmin.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// Get an admin settings" but found "//Get an admin settings"
(#55) Whitespace found at end of line
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// if the alternatives form was submittes" but found "//if the alternatives form was submittes"
(#59) Variable "alternatives_form" must not contain underscores.
(#60) Variable "alternatives_form" must not contain underscores.
(#72) Variable "ai_evals" must not contain underscores.
(#73) Variable "ai_evals" must not contain underscores.
(#77) Variable "ai_evals" must not contain underscores.
(#86) Variable "ai_evals" must not contain underscores.
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) 3 slashes comments are not allowed; use "// Comment." instead
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// This puts all our display logic into the renderer.php files in this plugin" but found "//This puts all our display logic into the renderer.php files in this plugin"
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// fetch mistranscriptions and html table for them (need to do this before head is printed because of AMD/CSS in table)" but found "//fetch mistranscriptions and html table for them (need to do this before head is printed because of AMD/CSS in table)"
(#119) Variable "table_of_mistranscriptions" must not contain underscores.
(#126) No space found before comment text; expected "// This is the estimate of errors based on comparing human grades to machine grades" but found "//This is the estimate of errors based on comparing human grades to machine grades"
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// echo $renderer->show_currenterrorestimate(utils::estimate_errors($moduleinstance->id));" but found "//echo $renderer->show_currenterrorestimate(utils::estimate_errors($moduleinstance->id));"
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) No space found before comment text; expected "// id is cmid on this page, so we use n as the id of the instance, so to make sure we arrive back here ok, we add n" but found "//id is cmid on this page, so we use n as the id of the instance, so to make sure we arrive back here ok, we add n"
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) This comment is 78% valid code; is this commented out code?
(#135) No space found before comment text; expected "// echo $renderer->show_machineregradeallbutton($moduleinstance);" but found "//echo $renderer->show_machineregradeallbutton($moduleinstance);"
(#137) Variable "table_of_mistranscriptions" must not contain underscores.
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) No space found before comment text; expected "// This shows button that pushes all updated machine grades to gradebook" but found "//This shows button that pushes all updated machine grades to gradebook"
mod/readaloud/grading.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) No space found before comment text; expected "// export format csv or html" but found "//export format csv or html"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Is this a savebutton2" but found "//Is this a savebutton2"
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// paging details" but found "//paging details"
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// Get an admin settings" but found "//Get an admin settings"
(#63) Whitespace found at end of line
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// set per page according to admin setting" but found "//set per page according to admin setting"
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// process form submission" but found "//process form submission"
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// update gradebook" but found "//update gradebook"
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) No space found before comment text; expected "// move on or return to grading" but found "//move on or return to grading"
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// redirect to clear out form data so we can gradenow on next attempt" but found "//redirect to clear out form data so we can gradenow on next attempt"
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) 3 slashes comments are not allowed; use "// Comment." instead
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// This puts all our display logic into the renderer.php files in this plugin" but found "//This puts all our display logic into the renderer.php files in this plugin"
(#132) No space found before comment text; expected "// From here we actually display the page." but found "//From here we actually display the page."
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) No space found before comment text; expected "// load individual attempt page with most recent(human or machine) eval and action buttons" but found "//load individual attempt page with most recent(human or machine) eval and action buttons"
(#141) Variable "force_aidata" must not contain underscores.
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) No space found before comment text; expected "// ai data could still be used if not human grading. we just do not force it" but found "//ai data could still be used if not human grading. we just do not force it"
(#149) Variable "force_aidata" must not contain underscores.
(#150) Variable "force_aidata" must not contain underscores.
(#151) Variable "force_aidata" must not contain underscores.
(#152) Variable "force_aidata" must not contain underscores.
(#157) Variable "force_aidata" must not contain underscores.
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) No space found before comment text; expected "// load individual attempt page with machine eval and action buttons (BUT rerun the AI auto grade code on it first)" but found "//load individual attempt page with machine eval and action buttons (BUT rerun the AI auto grade code on it first)"
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) No space found before comment text; expected "// this forces the regrade using any changes in the diff algorythm, or alternatives" but found "//this forces the regrade using any changes in the diff algorythm, or alternatives"
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) No space found before comment text; expected "// must be done before instant. $gradenow which also aigrade object internally" but found "//must be done before instant. $gradenow which also aigrade object internally"
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// fetch attempt and ai data" but found "//fetch attempt and ai data"
(#180) Variable "force_aidata" must not contain underscores.
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) No space found before comment text; expected "// in this case we are just interested in ai data" but found "//in this case we are just interested in ai data"
(#184) Variable "force_aidata" must not contain underscores.
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) No space found before comment text; expected "// if we can grade and manage attempts show the gradenow button" but found "//if we can grade and manage attempts show the gradenow button"
(#198) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) No space found before comment text; expected "// load individual attempt page with machine eval (NO action buttons )" but found "//load individual attempt page with machine eval (NO action buttons )"
(#203) Variable "force_aidata" must not contain underscores.
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) No space found before comment text; expected "// in this case we are just interested in ai data" but found "//in this case we are just interested in ai data"
(#208) Variable "force_aidata" must not contain underscores.
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) No space found before comment text; expected "// if we can grade and manage attempts show the gradenow button" but found "//if we can grade and manage attempts show the gradenow button"
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// load individual attempt page with machine eval and action buttons" but found "//load individual attempt page with machine eval and action buttons"
(#223) Variable "force_aidata" must not contain underscores.
(#223) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) No space found before comment text; expected "// in this case we are just interested in ai data" but found "//in this case we are just interested in ai data"
(#226) Inline comments must start with a capital letter, digit or 3-dots sequence
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) This comment is 62% valid code; is this commented out code?
(#226) No space found before comment text; expected "// $aigrade = new \mod_readaloud\aigrade($attemptid,$modulecontext->id);" but found "//$aigrade = new \mod_readaloud\aigrade($attemptid,$modulecontext->id);"
(#232) Variable "force_aidata" must not contain underscores.
(#233) Variable "force_aidata" must not contain underscores.
(#234) Variable "force_aidata" must not contain underscores.
(#235) Variable "force_aidata" must not contain underscores.
(#240) Variable "force_aidata" must not contain underscores.
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) No space found before comment text; expected "// list view of attempts and grades and action links" but found "//list view of attempts and grades and action links"
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) No space found before comment text; expected "// formdata should only have simple values, not objects" but found "//formdata should only have simple values, not objects"
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#251) No space found before comment text; expected "// later it gets turned into urls for the export buttons" but found "//later it gets turned into urls for the export buttons"
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) No space found before comment text; expected "// list view of attempts and grades and action links for a particular user" but found "//list view of attempts and grades and action links for a particular user"
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) No space found before comment text; expected "// formdata should only have simple values, not objects" but found "//formdata should only have simple values, not objects"
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) No space found before comment text; expected "// later it gets turned into urls for the export buttons" but found "//later it gets turned into urls for the export buttons"
(#268) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) No space found before comment text; expected "// list view of attempts and machine grades and action links" but found "//list view of attempts and machine grades and action links"
(#272) Inline comments must start with a capital letter, digit or 3-dots sequence
(#272) No space found before comment text; expected "// formdata should only have simple values, not objects" but found "//formdata should only have simple values, not objects"
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) No space found before comment text; expected "// later it gets turned into urls for the export buttons" but found "//later it gets turned into urls for the export buttons"
(#296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) No space found before comment text; expected "// list view of machine attempts and grades and action links for a particular user" but found "//list view of machine attempts and grades and action links for a particular user"
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) No space found before comment text; expected "// formdata should only have simple values, not objects" but found "//formdata should only have simple values, not objects"
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) No space found before comment text; expected "// later it gets turned into urls for the export buttons" but found "//later it gets turned into urls for the export buttons"
(#315) Inline comments must start with a capital letter, digit or 3-dots sequence
(#315) No space found before comment text; expected "// if we got to here we are loading the report on screen" but found "//if we got to here we are loading the report on screen"
(#316) No space found before comment text; expected "// so we need our audio player loaded" but found "//so we need our audio player loaded"
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) No space found before comment text; expected "// here we set up any info we need to pass into javascript" but found "//here we set up any info we need to pass into javascript"
(#318) Variable "aph_opts" must not contain underscores.
(#320) Inline comments must start with a capital letter, digit or 3-dots sequence
(#320) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) No space found before comment text; expected "// this inits the js for the audio players on the list of submissions" but found "//this inits the js for the audio players on the list of submissions"
(#321) Variable "aph_opts" must not contain underscores.
(#323) This comment is 52% valid code; is this commented out code?
(#344) Variable "perpage_selector" must not contain underscores.
(#350) Variable "perpage_selector" must not contain underscores.
mod/readaloud/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/lang/en/readaloud.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) No space found before comment text; expected "// we hijacked this setting for both TTS STT .... bad ... but they are always the same aren't they?" but found "//we hijacked this setting for both TTS STT .... bad ... but they are always the same aren't they?"
mod/readaloud/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#37) 80 slashes comments are not allowed; use "// Comment." instead
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) 80 slashes comments are not allowed; use "// Comment." instead
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) No space found before comment text; expected "// delete AI grades" but found "//delete AI grades"
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) 3 slashes comments are not allowed; use "// Comment." instead
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) No space found before comment text; expected "// workaround for buggy PHP versions" but found "//workaround for buggy PHP versions"
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) No space found before comment text; expected "// it may not be always present" but found "//it may not be always present"
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) No space found before comment text; expected "// if we are machine grading we need to fetch the error estimate" but found "//if we are machine grading we need to fetch the error estimate"
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) No space found before comment text; expected "// hard coded to no error estimate since we turned off the feature" but found "//hard coded to no error estimate since we turned off the feature"
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Inline comments must start with a capital letter, digit or 3-dots sequence
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// check raw grade isnt null otherwise we insert a grade of 0" but found "//check raw grade isnt null otherwise we insert a grade of 0"
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) No space found before comment text; expected "// setting rawgrade to null just in case user is deleting a grade" but found "//setting rawgrade to null just in case user is deleting a grade"
(#306) Inline comments must start with a capital letter, digit or 3-dots sequence
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) No space found before comment text; expected "// aigrades sql" but found "//aigrades sql"
(#307) Variable "ai_sql" must not contain underscores.
(#308) Line exceeds 132 characters; contains 147 characters
(#313) Variable "human_sql" must not contain underscores.
(#314) Whitespace found at end of line within string
(#319) Inline comments must start with a capital letter, digit or 3-dots sequence
(#319) No space found before comment text; expected "// from which table do we get these grades.." but found "//from which table do we get these grades.."
(#321) Variable "ai_sql" must not contain underscores.
(#322) Variable "human_sql" must not contain underscores.
(#323) Inline comments must start with a capital letter, digit or 3-dots sequence
(#323) Inline comments must end in full-stops, exclamation marks, or question marks
(#323) No space found before comment text; expected "// here we loop through and choose the higher of the ai or human grades" but found "//here we loop through and choose the higher of the ai or human grades"
(#335) Variable "human_sql" must not contain underscores.
(#343) Inline comments must start with a capital letter, digit or 3-dots sequence
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) No space found before comment text; expected "// aigrades sql" but found "//aigrades sql"
(#344) Variable "ai_sql" must not contain underscores.
(#345) Line exceeds 132 characters; contains 151 characters
(#346) Line exceeds maximum limit of 180 characters; contains 229 characters
(#350) Inline comments must start with a capital letter, digit or 3-dots sequence
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#350) No space found before comment text; expected "// human_sql" but found "//human_sql"
(#351) Variable "human_sql" must not contain underscores.
(#353) Line exceeds maximum limit of 180 characters; contains 201 characters
(#357) Inline comments must start with a capital letter, digit or 3-dots sequence
(#357) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) No space found before comment text; expected "// hybrid sql" but found "//hybrid sql"
(#358) Variable "hybrid_sql" must not contain underscores.
(#358) Line exceeds 132 characters; contains 154 characters
(#359) Line exceeds 132 characters; contains 151 characters
(#360) Line exceeds maximum limit of 180 characters; contains 229 characters
(#364) Inline comments must start with a capital letter, digit or 3-dots sequence
(#364) No space found before comment text; expected "// from which table do we get these grades.." but found "//from which table do we get these grades.."
(#366) Variable "hybrid_sql" must not contain underscores.
(#367) Inline comments must start with a capital letter, digit or 3-dots sequence
(#367) No space found before comment text; expected "// sessiontime is our indicator that a human grade has been saved." but found "//sessiontime is our indicator that a human grade has been saved."
(#376) Variable "human_sql" must not contain underscores.
(#380) Inline comments must start with a capital letter, digit or 3-dots sequence
(#380) Inline comments must end in full-stops, exclamation marks, or question marks
(#380) No space found before comment text; expected "// return results" but found "//return results"
(#388) Inline comments must start with a capital letter, digit or 3-dots sequence
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) No space found before comment text; expected "// this is called internally only" but found "//this is called internally only"
(#392) Inline comments must end in full-stops, exclamation marks, or question marks
(#404) Inline comments must start with a capital letter, digit or 3-dots sequence
(#404) Inline comments must end in full-stops, exclamation marks, or question marks
(#404) No space found before comment text; expected "// choose greater or ai or human score" but found "//choose greater or ai or human score"
(#410) Inline comments must start with a capital letter, digit or 3-dots sequence
(#410) Inline comments must end in full-stops, exclamation marks, or question marks
(#410) No space found before comment text; expected "// choose human grades only" but found "//choose human grades only"
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#421) No space found before comment text; expected "// check completion reqs against satisfied conditions" but found "//check completion reqs against satisfied conditions"
(#424) Inline comments must start with a capital letter, digit or 3-dots sequence
(#424) Inline comments must end in full-stops, exclamation marks, or question marks
(#424) No space found before comment text; expected "// return our success flag" but found "//return our success flag"
(#514) Variable "update_grades" must not contain underscores.
(#515) Variable "update_grades" must not contain underscores.
(#539) Perl-style comments are not allowed; use "// Comment." instead
(#584) Inline comments must end in full-stops, exclamation marks, or question marks
(#584) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#636) 80 slashes comments are not allowed; use "// Comment." instead
(#638) Inline comments must end in full-stops, exclamation marks, or question marks
(#638) 80 slashes comments are not allowed; use "// Comment." instead
(#654) Inline doc block comments are not allowed; use "// Comment." instead
(#673) Inline doc block comments are not allowed; use "// Comment." instead
(#681) 80 slashes comments are not allowed; use "// Comment." instead
(#683) Inline comments must end in full-stops, exclamation marks, or question marks
(#683) 80 slashes comments are not allowed; use "// Comment." instead
(#760) Inline comments must start with a capital letter, digit or 3-dots sequence
(#760) Inline comments must end in full-stops, exclamation marks, or question marks
(#764) 80 slashes comments are not allowed; use "// Comment." instead
(#766) Inline comments must end in full-stops, exclamation marks, or question marks
(#766) 80 slashes comments are not allowed; use "// Comment." instead
mod/readaloud/manageattempts.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// set up the page object url" but found "//set up the page object url"
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) No space found before comment text; expected "// make sure we are logged in and can see this form" but found "//make sure we are logged in and can see this form"
(#51) This comment is 58% valid code; is this commented out code?
(#51) No space found before comment text; expected "// set up the page object" but found "//set up the page object"
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) No space found before comment text; expected "// is the attempt if OK?" but found "//is the attempt if OK?"
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// we always head back to the readaloud attempts page" but found "//we always head back to the readaloud attempts page"
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) No space found before comment text; expected "// handle delete actions" but found "//handle delete actions"
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) 7 slashes comments are not allowed; use "// Comment." instead
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// delete AI grades for this attempt too" but found "//delete AI grades for this attempt too"
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) 7 slashes comments are not allowed; use "// Comment." instead
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) No space found before comment text; expected "// delete AI grades for this activity too" but found "//delete AI grades for this activity too"
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// we should never get here" but found "//we should never get here"
mod/readaloud/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// time target" but found "//time target"
(#71) Variable "timelimit_options" must not contain underscores.
(#73) Variable "timelimit_options" must not contain underscores.
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) This comment is 72% valid code; is this commented out code?
(#74) No space found before comment text; expected "// $mform->addElement('duration', 'timelimit', get_string('timelimit',constants::M_COMPONENT)));" but found "//$mform->addElement('duration', 'timelimit', get_string('timelimit',constants::M_COMPONENT)));"
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) No space found before comment text; expected "// add other editors" but found "//add other editors"
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// could add files but need the context/mod info. So for now just rich text" but found "//could add files but need the context/mod info. So for now just rich text"
(#81) No space found before comment text; expected "// The passage" but found "//The passage"
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) This comment is 55% valid code; is this commented out code?
(#82) No space found before comment text; expected "// $edfileoptions = readaloud_editor_with_files_options($this->context);" but found "//$edfileoptions = readaloud_editor_with_files_options($this->context);"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// The alternatives declaration" but found "//The alternatives declaration"
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) No space found before comment text; expected "// welcome and feedback" but found "//welcome and feedback"
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// defaults" but found "//defaults"
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) No space found before comment text; expected "// types" but found "//types"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// allow early exit" but found "//allow early exit"
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) No space found before comment text; expected "// Attempts" but found "//Attempts"
(#124) Commas (,) must be followed by white space.
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) No space found before comment text; expected "// grade options for how to grade with multiple attempts." but found "//grade options for how to grade with multiple attempts."
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// human vs machine grade options" but found "//human vs machine grade options"
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) No space found before comment text; expected "// Enable AI" but found "//Enable AI"
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// tts options" but found "//tts options"
(#156) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) No space found before comment text; expected "// transcriber options" but found "//transcriber options"
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) No space found before comment text; expected "// region" but found "//region"
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) No space found before comment text; expected "// expiredays" but found "//expiredays"
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Variable "autoacc_options" must not contain underscores.
(#179) Variable "autoacc_options" must not contain underscores.
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Variable "postattempt_options" must not contain underscores.
(#217) Variable "postattempt_options" must not contain underscores.
(#222) This comment is 67% valid code; is this commented out code?
(#228) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Inline comments must start with a capital letter, digit or 3-dots sequence
(#231) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) Visibility must be declared on method "add_completion_rules"
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) No space found before comment text; expected "// timer options" but found "//timer options"
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) No space found before comment text; expected "// Add a place to set a mimumum time after which the activity is recorded complete" but found "//Add a place to set a mimumum time after which the activity is recorded complete"
(#255) Visibility must be declared on method "completion_rule_enabled"
(#259) Variable "form_data" must not contain underscores.
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) This comment is 55% valid code; is this commented out code?
(#260) No space found before comment text; expected "// $edfileoptions = readaloud_editor_with_files_options($this->context);" but found "//$edfileoptions = readaloud_editor_with_files_options($this->context);"
(#266) Variable "form_data" must not contain underscores.
(#266) Variable "form_data" must not contain underscores.
mod/readaloud/refreshtoken.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/readaloud/reports.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) No space found before comment text; expected "// export format csv or html" but found "//export format csv or html"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// paging details" but found "//paging details"
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// Get an admin settings" but found "//Get an admin settings"
(#64) Whitespace found at end of line
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// set per page according to admin setting" but found "//set per page according to admin setting"
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) 3 slashes comments are not allowed; use "// Comment." instead
(#89) Variable "aph_opts" must not contain underscores.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// this inits the grading helper JS" but found "//this inits the grading helper JS"
(#92) Variable "aph_opts" must not contain underscores.
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) No space found before comment text; expected "// This puts all our display logic into the renderer.php files in this plugin" but found "//This puts all our display logic into the renderer.php files in this plugin"
(#99) No space found before comment text; expected "// From here we actually display the page." but found "//From here we actually display the page."
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// this is core renderer stuff" but found "//this is core renderer stuff"
(#105) Inline comments must start with a capital letter, digit or 3-dots sequence
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// not a true report, separate implementation in renderer" but found "//not a true report, separate implementation in renderer"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) No space found before comment text; expected "// formdata should only have simple values, not objects" but found "//formdata should only have simple values, not objects"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) No space found before comment text; expected "// later it gets turned into urls for the export buttons" but found "//later it gets turned into urls for the export buttons"
(#135) This comment is 52% valid code; is this commented out code?
mod/readaloud/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 56% valid code; is this commented out code?
(#51) No space found before comment text; expected "// get_string('apisecret_details', constants::M_COMPONENT)" but found "//get_string('apisecret_details', constants::M_COMPONENT)"
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// we removed this to simplify things, can bring back as feature later" but found "//we removed this to simplify things, can bring back as feature later"
(#59) Variable "accadjust_options" must not contain underscores.
(#63) Variable "accadjust_options" must not contain underscores.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// machine grade method" but found "//machine grade method"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) No space found before comment text; expected "// Evaluation view (what students see after an attempt)" but found "//Evaluation view (what students see after an attempt)"
(#98) This comment is 55% valid code; is this commented out code?
(#105) This comment is 56% valid code; is this commented out code?
(#106) Line indented incorrectly; expected at least 4 spaces, found 2
(#107) Line indented incorrectly; expected at least 4 spaces, found 2
(#108) Line indented incorrectly; expected at least 4 spaces, found 2
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) No space found before comment text; expected "// Language options" but found "//Language options"
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/tabs.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) 3 slashes comments are not allowed; use "// Comment." instead
(#58) This comment is 58% valid code; is this commented out code?
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Line exceeds maximum limit of 180 characters; contains 231 characters
(#58) No space found before comment text; expected "// $row[] = new tabobject('machinegrading', "$CFG->wwwroot/mod/readaloud/grading.php?id=$cm->id&action=machinegrading", get_string('machinegrading', constants::M_COMPONENT), get_string('viewmachinegrading', constants::M_COMPONENT));" but found "//$row[] = new tabobject('machinegrading', "$CFG->wwwroot/mod/readaloud/grading.php?id=$cm->id&action=machinegrading", get_string('machinegrading', constants::M_COMPONENT), get_string('viewmachinegrading', constants::M_COMPONENT));"
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Line exceeds maximum limit of 180 characters; contains 188 characters
(#59) No space found before comment text; expected "// $row[] = new tabobject('reports', "$CFG->wwwroot/mod/readaloud/reports.php?id=$cm->id", get_string('reports', constants::M_COMPONENT), get_string('viewreports', constants::M_COMPONENT));" but found "//$row[] = new tabobject('reports', "$CFG->wwwroot/mod/readaloud/reports.php?id=$cm->id", get_string('reports', constants::M_COMPONENT), get_string('viewreports', constants::M_COMPONENT));"
mod/readaloud/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
mod/readaloud/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// if we got this far, we can consider the activity "viewed"" but found "//if we got this far, we can consider the activity "viewed""
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) No space found before comment text; expected "// are we a teacher or a student?" but found "//are we a teacher or a student?"
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) 3 slashes comments are not allowed; use "// Comment." instead
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// Get an admin settings" but found "//Get an admin settings"
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) No space found before comment text; expected "// Get our renderers" but found "//Get our renderers"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// if we are in review mode, lets review" but found "//if we are in review mode, lets review"
(#86) Variable "ai_evals" must not contain underscores.
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) No space found before comment text; expected "// can attempt ?" but found "//can attempt ?"
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) No space found before comment text; expected "// debug mode is for teachers only" but found "//debug mode is for teachers only"
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// reset our retake flag if we cant reattempt" but found "//reset our retake flag if we cant reattempt"
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// display the most recent previous attempt if we have one" but found "//display the most recent previous attempt if we have one"
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// if we are teacher we see tabs. If student we just see the quiz" but found "//if we are teacher we see tabs. If student we just see the quiz"
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) No space found before comment text; expected "// ========================================" but found "//========================================"
(#121) Variable "latest_aigrade" must not contain underscores.
(#123) Variable "latest_aigrade" must not contain underscores.
(#127) Variable "have_humaneval" must not contain underscores.
(#128) Variable "have_aieval" must not contain underscores.
(#128) Variable "latest_aigrade" must not contain underscores.
(#128) Variable "latest_aigrade" must not contain underscores.
(#130) Variable "have_humaneval" must not contain underscores.
(#130) Variable "have_aieval" must not contain underscores.
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) No space found before comment text; expected "// we useed to distingush between humanpostattempt and machinepostattempt but we simplified it," but found "//we useed to distingush between humanpostattempt and machinepostattempt but we simplified it,"
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Variable "have_humaneval" must not contain underscores.
(#142) Variable "force_aidata" must not contain underscores.
(#145) Variable "force_aidata" must not contain underscores.
(#150) Variable "force_aidata" must not contain underscores.
(#157) Variable "have_humaneval" must not contain underscores.
(#160) Variable "force_aidata" must not contain underscores.
(#164) Variable "force_aidata" must not contain underscores.
(#167) Variable "force_aidata" must not contain underscores.
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// show button or a label depending on of can retake" but found "//show button or a label depending on of can retake"
(#188) No space found before comment text; expected "// From here we actually display the page." but found "//From here we actually display the page."
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) No space found before comment text; expected "// this is core renderer stuff" but found "//this is core renderer stuff"
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) No space found before comment text; expected "// if we are teacher we see tabs. If student we just see the quiz" but found "//if we are teacher we see tabs. If student we just see the quiz"
(#198) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) No space found before comment text; expected "// fetch token" but found "//fetch token"
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// show all the main parts. Many will be hidden and displayed by JS" but found "//show all the main parts. Many will be hidden and displayed by JS"
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) No space found before comment text; expected "// the module AMD code" but found "//the module AMD code"
(#213) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(66 errors, 623 warnings)

This section shows the coding style problems detected in the code by eslint [More info]

mod/readaloud/amd/src/activitycontroller.js
(#2) Line 2 exceeds the maximum line length of 132. (max-len)
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Identifier 'ra_recorder' is not in camel case. (camelcase)
(#18) Identifier 'rec_time_start' is not in camel case. (camelcase)
(#20) Expected space or tab after '//' in comment. (spaced-comment)
(#23) Comments should not begin with a lowercase character (capitalized-comments)
(#23) Expected space or tab after '//' in comment. (spaced-comment)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Comments should not begin with a lowercase character (capitalized-comments)
(#28) Expected space or tab after '//' in comment. (spaced-comment)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Comments should not begin with a lowercase character (capitalized-comments)
(#32) Expected space or tab after '//' in comment. (spaced-comment)
(#39) Comments should not begin with a lowercase character (capitalized-comments)
(#39) Expected space or tab after '//' in comment. (spaced-comment)
(#50) Expected space or tab after '//' in comment. (spaced-comment)
(#50) Comments should not begin with a lowercase character (capitalized-comments)
(#51) Expected space or tab after '//' in comment. (spaced-comment)
(#63) Identifier 'process_html' is not in camel case. (camelcase)
(#63) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Comments should not begin with a lowercase character (capitalized-comments)
(#65) Expected space or tab after '//' in comment. (spaced-comment)
(#66) Expected space or tab after '//' in comment. (spaced-comment)
(#68) ["hider"] is better written in dot notation. (dot-notation)
(#70) ["progresscontainer"] is better written in dot notation. (dot-notation)
(#71) ["feedbackcontainer"] is better written in dot notation. (dot-notation)
(#72) ["errorcontainer"] is better written in dot notation. (dot-notation)
(#73) ["passagecontainer"] is better written in dot notation. (dot-notation)
(#74) ["recordingcontainer"] is better written in dot notation. (dot-notation)
(#75) ["dummyrecorder"] is better written in dot notation. (dot-notation)
(#76) ["recordercontainer"] is better written in dot notation. (dot-notation)
(#77) ["instructionscontainer"] is better written in dot notation. (dot-notation)
(#78) ["recinstructionscontainerright"] is better written in dot notation. (dot-notation)
(#79) ["recinstructionscontainerleft"] is better written in dot notation. (dot-notation)
(#80) ["allowearlyexit"] is better written in dot notation. (dot-notation)
(#81) ["wheretonextcontainer"] is better written in dot notation. (dot-notation)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Comments should not begin with a lowercase character (capitalized-comments)
(#92) Identifier 'is_browser_ok' is not in camel case. (camelcase)
(#92) Unexpected space before function parentheses. (space-before-function-paren)
(#97) Identifier 'setup_recorder' is not in camel case. (camelcase)
(#97) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Expected space or tab after '//' in comment. (spaced-comment)
(#102) Expected space or tab after '//' in comment. (spaced-comment)
(#103) Expected space or tab after '//' in comment. (spaced-comment)
(#104) Expected space or tab after '//' in comment. (spaced-comment)
(#105) Identifier 'on_recording_start' is not in camel case. (camelcase)
(#105) Unexpected space before function parentheses. (space-before-function-paren)
(#105) 'eventdata' is defined but never used. (no-unused-vars)
(#107) Identifier 'rec_time_start' is not in camel case. (camelcase)
(#112) Comments should not begin with a lowercase character (capitalized-comments)
(#112) Expected space or tab after '//' in comment. (spaced-comment)
(#113) Expected space or tab after '//' in comment. (spaced-comment)
(#114) Expected space or tab after '//' in comment. (spaced-comment)
(#115) Identifier 'on_recording_end' is not in camel case. (camelcase)
(#115) Unexpected space before function parentheses. (space-before-function-paren)
(#115) 'eventdata' is defined but never used. (no-unused-vars)
(#116) Expected space or tab after '//' in comment. (spaced-comment)
(#116) Comments should not begin with a lowercase character (capitalized-comments)
(#124) Comments should not begin with a lowercase character (capitalized-comments)
(#124) Expected space or tab after '//' in comment. (spaced-comment)
(#125) Expected space or tab after '//' in comment. (spaced-comment)
(#126) Identifier 'on_audio_processing' is not in camel case. (camelcase)
(#126) Unexpected space before function parentheses. (space-before-function-paren)
(#127) Comments should not begin with a lowercase character (capitalized-comments)
(#127) Expected space or tab after '//' in comment. (spaced-comment)
(#128) Expected space or tab after '//' in comment. (spaced-comment)
(#135) Expected space or tab after '//' in comment. (spaced-comment)
(#135) Comments should not begin with a lowercase character (capitalized-comments)
(#139) Expected space or tab after '//' in comment. (spaced-comment)
(#139) Comments should not begin with a lowercase character (capitalized-comments)
(#146) Identifier 'register_events' is not in camel case. (camelcase)
(#146) Unexpected space before function parentheses. (space-before-function-paren)
(#147) 'dd' is assigned a value but never used. (no-unused-vars)
(#149) Expected space or tab after '//' in comment. (spaced-comment)
(#149) Comments should not begin with a lowercase character (capitalized-comments)
(#150) Expected space or tab after '//' in comment. (spaced-comment)
(#151) Expected space or tab after '//' in comment. (spaced-comment)
(#155) Identifier 'send_submission' is not in camel case. (camelcase)
(#155) Unexpected space before function parentheses. (space-before-function-paren)
(#157) Comments should not begin with a lowercase character (capitalized-comments)
(#157) Expected space or tab after '//' in comment. (spaced-comment)
(#161) Comments should not begin with a lowercase character (capitalized-comments)
(#161) Expected space or tab after '//' in comment. (spaced-comment)
(#162) Unexpected space before function parentheses. (space-before-function-paren)
(#162) 'e' is defined but never used. (no-unused-vars)
(#166) Expected space or tab after '//' in comment. (spaced-comment)
(#166) Comments should not begin with a lowercase character (capitalized-comments)
(#179) Blocks are nested too deeply (5). (max-depth)
(#190) Expected space or tab after '//' in comment. (spaced-comment)
(#190) Comments should not begin with a lowercase character (capitalized-comments)
(#200) Unexpected space before function parentheses. (space-before-function-paren)
(#203) Comments should not begin with a lowercase character (capitalized-comments)
(#203) Expected space or tab after '//' in comment. (spaced-comment)
(#205) Comments should not begin with a lowercase character (capitalized-comments)
(#208) Unexpected space before function parentheses. (space-before-function-paren)
(#215) Unexpected space before function parentheses. (space-before-function-paren)
(#225) Unexpected space before function parentheses. (space-before-function-paren)
(#234) Comments should not begin with a lowercase character (capitalized-comments)
(#234) Expected space or tab after '//' in comment. (spaced-comment)
(#235) Comments should not begin with a lowercase character (capitalized-comments)
(#235) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/cloudpoodllloader.js
(#1) Line 1 exceeds the maximum line length of 132. (max-len)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#2) Comments should not begin with a lowercase character (capitalized-comments)
(#2) Line 2 exceeds the maximum line length of 132. (max-len)
(#2) Expected space or tab after '//' in comment. (spaced-comment)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Missing semicolon. (semi)
mod/readaloud/amd/src/datatables.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#1) 'datatables' is defined but never used. (no-unused-vars)
(#11) Comments should not begin with a lowercase character (capitalized-comments)
(#11) Expected space or tab after '//' in comment. (spaced-comment)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Comments should not begin with a lowercase character (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#14) 'that' is assigned a value but never used. (no-unused-vars)
(#20) Comments should not begin with a lowercase character (capitalized-comments)
(#20) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/definitions.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Comments should not begin with a lowercase character (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#20) Expected space or tab after '//' in comment. (spaced-comment)
(#20) Comments should not begin with a lowercase character (capitalized-comments)
(#25) Expected space or tab after '//' in comment. (spaced-comment)
(#25) Comments should not begin with a lowercase character (capitalized-comments)
(#47) Comments should not begin with a lowercase character (capitalized-comments)
(#47) Expected space or tab after '//' in comment. (spaced-comment)
(#55) Comments should not begin with a lowercase character (capitalized-comments)
(#55) Expected space or tab after '//' in comment. (spaced-comment)
(#66) Comments should not begin with a lowercase character (capitalized-comments)
(#66) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/dependencyloader.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#1) 'Deps' is defined but never used. (no-unused-vars)
(#9) Comments should not begin with a lowercase character (capitalized-comments)
(#9) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/deps.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#11) Comments should not begin with a lowercase character (capitalized-comments)
(#11) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/gradenowhelper.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#7) Comments should not begin with a lowercase character (capitalized-comments)
(#7) Expected space or tab after '//' in comment. (spaced-comment)
(#19) Comments should not begin with a lowercase character (capitalized-comments)
(#19) Expected space or tab after '//' in comment. (spaced-comment)
(#78) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Expected space or tab after '//' in comment. (spaced-comment)
(#80) Comments should not begin with a lowercase character (capitalized-comments)
(#81) ["id"] is better written in dot notation. (dot-notation)
(#87) Expected space or tab after '//' in comment. (spaced-comment)
(#87) Comments should not begin with a lowercase character (capitalized-comments)
(#92) Expected space or tab after '//' in comment. (spaced-comment)
(#92) Comments should not begin with a lowercase character (capitalized-comments)
(#95) Comments should not begin with a lowercase character (capitalized-comments)
(#95) Expected space or tab after '//' in comment. (spaced-comment)
(#96) 'opts' used outside of binding context. (block-scoped-var)
(#96) ["activityid"] is better written in dot notation. (dot-notation)
(#97) 'opts' used outside of binding context. (block-scoped-var)
(#97) ["attemptid"] is better written in dot notation. (dot-notation)
(#98) 'opts' used outside of binding context. (block-scoped-var)
(#98) ["sesskey"] is better written in dot notation. (dot-notation)
(#99) 'opts' used outside of binding context. (block-scoped-var)
(#99) ["enabletts"] is better written in dot notation. (dot-notation)
(#100) 'opts' used outside of binding context. (block-scoped-var)
(#100) ["ttslanguage"] is better written in dot notation. (dot-notation)
(#101) 'opts' used outside of binding context. (block-scoped-var)
(#101) ["targetwpm"] is better written in dot notation. (dot-notation)
(#102) 'opts' used outside of binding context. (block-scoped-var)
(#102) ["allowearlyexit"] is better written in dot notation. (dot-notation)
(#103) 'opts' used outside of binding context. (block-scoped-var)
(#103) ["timelimit"] is better written in dot notation. (dot-notation)
(#104) 'opts' used outside of binding context. (block-scoped-var)
(#104) ["reviewmode"] is better written in dot notation. (dot-notation)
(#105) 'opts' used outside of binding context. (block-scoped-var)
(#105) ["readonly"] is better written in dot notation. (dot-notation)
(#108) 'opts' used outside of binding context. (block-scoped-var)
(#108) ["sessiontime"] is better written in dot notation. (dot-notation)
(#109) 'opts' used outside of binding context. (block-scoped-var)
(#109) ["sessionerrors"] is better written in dot notation. (dot-notation)
(#110) 'opts' used outside of binding context. (block-scoped-var)
(#110) ["sessionerrors"] is better written in dot notation. (dot-notation)
(#114) 'opts' used outside of binding context. (block-scoped-var)
(#114) ["sessiontime"] is better written in dot notation. (dot-notation)
(#115) 'opts' used outside of binding context. (block-scoped-var)
(#115) ["sessionendword"] is better written in dot notation. (dot-notation)
(#116) 'opts' used outside of binding context. (block-scoped-var)
(#116) ["sessionscore"] is better written in dot notation. (dot-notation)
(#117) 'opts' used outside of binding context. (block-scoped-var)
(#117) ["accuracy"] is better written in dot notation. (dot-notation)
(#118) 'opts' used outside of binding context. (block-scoped-var)
(#118) ["wpm"] is better written in dot notation. (dot-notation)
(#120) Expected space or tab after '//' in comment. (spaced-comment)
(#121) 'opts' used outside of binding context. (block-scoped-var)
(#121) ["sessionmatches"] is better written in dot notation. (dot-notation)
(#122) 'opts' used outside of binding context. (block-scoped-var)
(#122) ["aidata"] is better written in dot notation. (dot-notation)
(#124) 'opts' used outside of binding context. (block-scoped-var)
(#124) ["aidata"] is better written in dot notation. (dot-notation)
(#126) Comments should not begin with a lowercase character (capitalized-comments)
(#126) Expected space or tab after '//' in comment. (spaced-comment)
(#127) Unexpected space before function parentheses. (space-before-function-paren)
(#135) Expected space or tab after '//' in comment. (spaced-comment)
(#135) Comments should not begin with a lowercase character (capitalized-comments)
(#138) Expected space or tab after '//' in comment. (spaced-comment)
(#138) Comments should not begin with a lowercase character (capitalized-comments)
(#142) Comments should not begin with a lowercase character (capitalized-comments)
(#142) Expected space or tab after '//' in comment. (spaced-comment)
(#146) Comments should not begin with a lowercase character (capitalized-comments)
(#146) Expected space or tab after '//' in comment. (spaced-comment)
(#149) Expected space or tab after '//' in comment. (spaced-comment)
(#149) Comments should not begin with a lowercase character (capitalized-comments)
(#150) Expected space or tab after '//' in comment. (spaced-comment)
(#151) Expected space or tab after '//' in comment. (spaced-comment)
(#152) Expected space or tab after '//' in comment. (spaced-comment)
(#154) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Comments should not begin with a lowercase character (capitalized-comments)
(#156) Expected space or tab after '//' in comment. (spaced-comment)
(#157) Line 157 exceeds the maximum line length of 132. (max-len)
(#157) Expected space or tab after '//' in comment. (spaced-comment)
(#159) Expected space or tab after '//' in comment. (spaced-comment)
(#168) Expected space or tab after '//' in comment. (spaced-comment)
(#168) Comments should not begin with a lowercase character (capitalized-comments)
(#174) Comments should not begin with a lowercase character (capitalized-comments)
(#174) Expected space or tab after '//' in comment. (spaced-comment)
(#175) Expected space or tab after '//' in comment. (spaced-comment)
(#186) Expected space or tab after '//' in comment. (spaced-comment)
(#186) Comments should not begin with a lowercase character (capitalized-comments)
(#191) Expected space or tab after '//' in comment. (spaced-comment)
(#191) Comments should not begin with a lowercase character (capitalized-comments)
(#192) Identifier 'init_popoverhelper' is not in camel case. (camelcase)
(#192) Unexpected space before function parentheses. (space-before-function-paren)
(#195) Comments should not begin with a lowercase character (capitalized-comments)
(#195) Expected space or tab after '//' in comment. (spaced-comment)
(#196) Unexpected space before function parentheses. (space-before-function-paren)
(#199) Expected space or tab after '//' in comment. (spaced-comment)
(#199) Comments should not begin with a lowercase character (capitalized-comments)
(#206) Comments should not begin with a lowercase character (capitalized-comments)
(#206) Expected space or tab after '//' in comment. (spaced-comment)
(#220) Comments should not begin with a lowercase character (capitalized-comments)
(#220) Expected space or tab after '//' in comment. (spaced-comment)
(#226) Expected space or tab after '//' in comment. (spaced-comment)
(#226) Comments should not begin with a lowercase character (capitalized-comments)
(#227) Unexpected space before function parentheses. (space-before-function-paren)
(#230) Comments should not begin with a lowercase character (capitalized-comments)
(#230) Expected space or tab after '//' in comment. (spaced-comment)
(#236) Comments should not begin with a lowercase character (capitalized-comments)
(#236) Expected space or tab after '//' in comment. (spaced-comment)
(#248) Comments should not begin with a lowercase character (capitalized-comments)
(#248) Expected space or tab after '//' in comment. (spaced-comment)
(#254) Comments should not begin with a lowercase character (capitalized-comments)
(#254) Expected space or tab after '//' in comment. (spaced-comment)
(#258) Identifier 'register_controls' is not in camel case. (camelcase)
(#258) Unexpected space before function parentheses. (space-before-function-paren)
(#281) Expected space or tab after '//' in comment. (spaced-comment)
(#281) Comments should not begin with a lowercase character (capitalized-comments)
(#291) Identifier 'register_events' is not in camel case. (camelcase)
(#291) Unexpected space before function parentheses. (space-before-function-paren)
(#293) Expected space or tab after '//' in comment. (spaced-comment)
(#293) Comments should not begin with a lowercase character (capitalized-comments)
(#296) Expected space or tab after '//' in comment. (spaced-comment)
(#297) Unexpected space before function parentheses. (space-before-function-paren)
(#299) Unexpected 'this'. (no-invalid-this)
(#305) Expected space or tab after '//' in comment. (spaced-comment)
(#305) Comments should not begin with a lowercase character (capitalized-comments)
(#307) Expected space or tab after '//' in comment. (spaced-comment)
(#307) Comments should not begin with a lowercase character (capitalized-comments)
(#309) Expected space or tab after '//' in comment. (spaced-comment)
(#310) Unexpected constant condition. (no-constant-condition)
(#311) Comments should not begin with a lowercase character (capitalized-comments)
(#317) Expected space or tab after '//' in comment. (spaced-comment)
(#322) Expected space or tab after '//' in comment. (spaced-comment)
(#322) Comments should not begin with a lowercase character (capitalized-comments)
(#324) Unexpected space before function parentheses. (space-before-function-paren)
(#325) Expected space or tab after '//' in comment. (spaced-comment)
(#325) Comments should not begin with a lowercase character (capitalized-comments)
(#330) Expected space or tab after '//' in comment. (spaced-comment)
(#330) Comments should not begin with a lowercase character (capitalized-comments)
(#331) Unexpected 'this'. (no-invalid-this)
(#332) 'theword' is assigned a value but never used. (no-unused-vars)
(#332) Unexpected 'this'. (no-invalid-this)
(#337) Unexpected 'this'. (no-invalid-this)
(#344) Expected space or tab after '//' in comment. (spaced-comment)
(#344) Comments should not begin with a lowercase character (capitalized-comments)
(#347) Expected space or tab after '//' in comment. (spaced-comment)
(#347) Comments should not begin with a lowercase character (capitalized-comments)
(#349) Unexpected space before function parentheses. (space-before-function-paren)
(#352) Comments should not begin with a lowercase character (capitalized-comments)
(#352) Expected space or tab after '//' in comment. (spaced-comment)
(#353) Unexpected 'this'. (no-invalid-this)
(#354) Unexpected 'this'. (no-invalid-this)
(#356) Comments should not begin with a lowercase character (capitalized-comments)
(#356) Expected space or tab after '//' in comment. (spaced-comment)
(#358) Unexpected 'this'. (no-invalid-this)
(#358) Unexpected 'this'. (no-invalid-this)
(#359) Unexpected 'this'. (no-invalid-this)
(#367) Unexpected 'this'. (no-invalid-this)
(#372) Comments should not begin with a lowercase character (capitalized-comments)
(#372) Expected space or tab after '//' in comment. (spaced-comment)
(#379) Unexpected 'this'. (no-invalid-this)
(#382) Unexpected 'this'. (no-invalid-this)
(#386) Comments should not begin with a lowercase character (capitalized-comments)
(#386) Expected space or tab after '//' in comment. (spaced-comment)
(#388) Expected space or tab after '//' in comment. (spaced-comment)
(#390) Unexpected space before function parentheses. (space-before-function-paren)
(#392) Expected space or tab after '//' in comment. (spaced-comment)
(#392) Comments should not begin with a lowercase character (capitalized-comments)
(#397) Comments should not begin with a lowercase character (capitalized-comments)
(#397) Expected space or tab after '//' in comment. (spaced-comment)
(#398) Expected space or tab after '//' in comment. (spaced-comment)
(#399) Unexpected 'this'. (no-invalid-this)
(#414) Comments should not begin with a lowercase character (capitalized-comments)
(#414) Expected space or tab after '//' in comment. (spaced-comment)
(#416) Expected space or tab after '//' in comment. (spaced-comment)
(#417) Unexpected space before function parentheses. (space-before-function-paren)
(#419) Expected space or tab after '//' in comment. (spaced-comment)
(#419) Comments should not begin with a lowercase character (capitalized-comments)
(#424) Expected space or tab after '//' in comment. (spaced-comment)
(#424) Comments should not begin with a lowercase character (capitalized-comments)
(#425) Unexpected space before function parentheses. (space-before-function-paren)
(#425) 'index' is defined but never used. (no-unused-vars)
(#426) Unexpected 'this'. (no-invalid-this)
(#428) Unexpected 'this'. (no-invalid-this)
(#431) Comments should not begin with a lowercase character (capitalized-comments)
(#431) Expected space or tab after '//' in comment. (spaced-comment)
(#434) Comments should not begin with a lowercase character (capitalized-comments)
(#434) Expected space or tab after '//' in comment. (spaced-comment)
(#439) Expected space or tab after '//' in comment. (spaced-comment)
(#439) Comments should not begin with a lowercase character (capitalized-comments)
(#444) Expected space or tab after '//' in comment. (spaced-comment)
(#444) Comments should not begin with a lowercase character (capitalized-comments)
(#445) Unexpected space before function parentheses. (space-before-function-paren)
(#451) Comments should not begin with a lowercase character (capitalized-comments)
(#451) Expected space or tab after '//' in comment. (spaced-comment)
(#453) Expected space or tab after '//' in comment. (spaced-comment)
(#454) Expected space or tab after '//' in comment. (spaced-comment)
(#455) Unexpected space before function parentheses. (space-before-function-paren)
(#461) Expected space or tab after '//' in comment. (spaced-comment)
(#461) Comments should not begin with a lowercase character (capitalized-comments)
(#462) Unexpected space before function parentheses. (space-before-function-paren)
(#471) Unexpected space before function parentheses. (space-before-function-paren)
(#474) Expected space or tab after '//' in comment. (spaced-comment)
(#474) Comments should not begin with a lowercase character (capitalized-comments)
(#486) Unexpected space before function parentheses. (space-before-function-paren)
(#510) Unexpected space before function parentheses. (space-before-function-paren)
(#513) Comments should not begin with a lowercase character (capitalized-comments)
(#513) Expected space or tab after '//' in comment. (spaced-comment)
(#516) Comments should not begin with a lowercase character (capitalized-comments)
(#516) Expected space or tab after '//' in comment. (spaced-comment)
(#521) Expected space or tab after '//' in comment. (spaced-comment)
(#521) Comments should not begin with a lowercase character (capitalized-comments)
(#529) Unexpected space before function parentheses. (space-before-function-paren)
(#529) 'e' is defined but never used. (no-unused-vars)
(#532) Unexpected 'this'. (no-invalid-this)
(#547) Unexpected space before function parentheses. (space-before-function-paren)
(#549) Expected space or tab after '//' in comment. (spaced-comment)
(#549) Comments should not begin with a lowercase character (capitalized-comments)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#552) 'wordnumber' used outside of binding context. (block-scoped-var)
(#553) 'isbad' used outside of binding context. (block-scoped-var)
(#553) 'wordnumber' used outside of binding context. (block-scoped-var)
(#553) 'wordnumber' used outside of binding context. (block-scoped-var)
(#553) 'wordnumber' used outside of binding context. (block-scoped-var)
(#554) 'isunmatched' used outside of binding context. (block-scoped-var)
(#554) 'wordnumber' used outside of binding context. (block-scoped-var)
(#554) 'wordnumber' used outside of binding context. (block-scoped-var)
(#554) 'wordnumber' used outside of binding context. (block-scoped-var)
(#555) Comments should not begin with a lowercase character (capitalized-comments)
(#555) Expected space or tab after '//' in comment. (spaced-comment)
(#557) 'isbad' used outside of binding context. (block-scoped-var)
(#557) 'isunmatched' used outside of binding context. (block-scoped-var)
(#558) 'wordnumber' used outside of binding context. (block-scoped-var)
(#558) 'wordnumber' used outside of binding context. (block-scoped-var)
(#558) 'wordnumber' used outside of binding context. (block-scoped-var)
(#559) 'isunmatched' used outside of binding context. (block-scoped-var)
(#560) 'wordnumber' used outside of binding context. (block-scoped-var)
(#560) 'wordnumber' used outside of binding context. (block-scoped-var)
(#560) 'wordnumber' used outside of binding context. (block-scoped-var)
(#567) Comments should not begin with a lowercase character (capitalized-comments)
(#567) Expected space or tab after '//' in comment. (spaced-comment)
(#568) Expected space or tab after '//' in comment. (spaced-comment)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' is already defined. (no-redeclare)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#571) 'wordnumber' used outside of binding context. (block-scoped-var)
(#572) 'wordnumber' used outside of binding context. (block-scoped-var)
(#572) 'wordnumber' used outside of binding context. (block-scoped-var)
(#572) 'wordnumber' used outside of binding context. (block-scoped-var)
(#573) 'wordnumber' used outside of binding context. (block-scoped-var)
(#573) 'wordnumber' used outside of binding context. (block-scoped-var)
(#573) 'wordnumber' used outside of binding context. (block-scoped-var)
(#579) Expected space or tab after '//' in comment. (spaced-comment)
(#579) Comments should not begin with a lowercase character (capitalized-comments)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' is already defined. (no-redeclare)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#583) 'wordnumber' used outside of binding context. (block-scoped-var)
(#584) 'isbad' is already defined. (no-redeclare)
(#584) 'isbad' used outside of binding context. (block-scoped-var)
(#584) 'wordnumber' used outside of binding context. (block-scoped-var)
(#584) 'wordnumber' used outside of binding context. (block-scoped-var)
(#584) 'wordnumber' used outside of binding context. (block-scoped-var)
(#585) 'isunmatched' used outside of binding context. (block-scoped-var)
(#585) 'isunmatched' is already defined. (no-redeclare)
(#585) 'wordnumber' used outside of binding context. (block-scoped-var)
(#585) 'wordnumber' used outside of binding context. (block-scoped-var)
(#585) 'wordnumber' used outside of binding context. (block-scoped-var)
(#586) Expected space or tab after '//' in comment. (spaced-comment)
(#586) Comments should not begin with a lowercase character (capitalized-comments)
(#587) 'isbad' used outside of binding context. (block-scoped-var)
(#587) 'isunmatched' used outside of binding context. (block-scoped-var)
(#588) 'wordnumber' used outside of binding context. (block-scoped-var)
(#588) 'wordnumber' used outside of binding context. (block-scoped-var)
(#588) 'wordnumber' used outside of binding context. (block-scoped-var)
(#589) 'isunmatched' used outside of binding context. (block-scoped-var)
(#590) 'wordnumber' used outside of binding context. (block-scoped-var)
(#590) 'wordnumber' used outside of binding context. (block-scoped-var)
(#590) 'wordnumber' used outside of binding context. (block-scoped-var)
(#597) Expected space or tab after '//' in comment. (spaced-comment)
(#597) Comments should not begin with a lowercase character (capitalized-comments)
(#598) Expected space or tab after '//' in comment. (spaced-comment)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' is already defined. (no-redeclare)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#601) 'wordnumber' used outside of binding context. (block-scoped-var)
(#602) 'wordnumber' used outside of binding context. (block-scoped-var)
(#602) 'wordnumber' used outside of binding context. (block-scoped-var)
(#602) 'wordnumber' used outside of binding context. (block-scoped-var)
(#603) 'wordnumber' used outside of binding context. (block-scoped-var)
(#603) 'wordnumber' used outside of binding context. (block-scoped-var)
(#603) 'wordnumber' used outside of binding context. (block-scoped-var)
(#613) Expected space or tab after '//' in comment. (spaced-comment)
(#613) Comments should not begin with a lowercase character (capitalized-comments)
(#614) Expected space or tab after '//' in comment. (spaced-comment)
(#625) Unexpected space before function parentheses. (space-before-function-paren)
(#626) 'that' is assigned a value but never used. (no-unused-vars)
(#628) Expected space or tab after '//' in comment. (spaced-comment)
(#628) Comments should not begin with a lowercase character (capitalized-comments)
(#631) Comments should not begin with a lowercase character (capitalized-comments)
(#631) Expected space or tab after '//' in comment. (spaced-comment)
(#634) Expected space or tab after '//' in comment. (spaced-comment)
(#634) Comments should not begin with a lowercase character (capitalized-comments)
(#635) Expected space or tab after '//' in comment. (spaced-comment)
(#637) Expected space or tab after '//' in comment. (spaced-comment)
(#643) Comments should not begin with a lowercase character (capitalized-comments)
(#643) Expected space or tab after '//' in comment. (spaced-comment)
(#644) Identifier 'markup_aiunmatchedwords' is not in camel case. (camelcase)
(#644) Unexpected space before function parentheses. (space-before-function-paren)
(#648) Unexpected space before function parentheses. (space-before-function-paren)
(#648) 'match' is defined but never used. (no-unused-vars)
(#659) Comments should not begin with a lowercase character (capitalized-comments)
(#659) Expected space or tab after '//' in comment. (spaced-comment)
(#667) Expected space or tab after '//' in comment. (spaced-comment)
(#667) Comments should not begin with a lowercase character (capitalized-comments)
(#669) Identifier 'markup_badspaces' is not in camel case. (camelcase)
(#669) Unexpected space before function parentheses. (space-before-function-paren)
(#671) Comments should not begin with a lowercase character (capitalized-comments)
(#671) Expected space or tab after '//' in comment. (spaced-comment)
(#672) Unexpected space before function parentheses. (space-before-function-paren)
(#672) 'index' is defined but never used. (no-unused-vars)
(#673) Unexpected 'this'. (no-invalid-this)
(#674) Expected space or tab after '//' in comment. (spaced-comment)
(#674) Comments should not begin with a lowercase character (capitalized-comments)
(#682) Identifier 'markup_aiunmatchedspaces' is not in camel case. (camelcase)
(#682) Unexpected space before function parentheses. (space-before-function-paren)
(#684) Unexpected space before function parentheses. (space-before-function-paren)
(#684) 'index' is defined but never used. (no-unused-vars)
(#685) Unexpected 'this'. (no-invalid-this)
(#686) Comments should not begin with a lowercase character (capitalized-comments)
(#686) Expected space or tab after '//' in comment. (spaced-comment)
(#695) Unexpected space before function parentheses. (space-before-function-paren)
(#707) Unexpected space before function parentheses. (space-before-function-paren)
(#709) Expected space or tab after '//' in comment. (spaced-comment)
(#709) Comments should not begin with a lowercase character (capitalized-comments)
(#712) Unexpected space before function parentheses. (space-before-function-paren)
(#712) 'match' is defined but never used. (no-unused-vars)
(#723) Comments should not begin with a lowercase character (capitalized-comments)
(#723) Expected space or tab after '//' in comment. (spaced-comment)
(#729) Comments should not begin with a lowercase character (capitalized-comments)
(#729) Expected space or tab after '//' in comment. (spaced-comment)
(#730) Unexpected space before function parentheses. (space-before-function-paren)
(#730) 'index' is defined but never used. (no-unused-vars)
(#731) Unexpected 'this'. (no-invalid-this)
(#732) Comments should not begin with a lowercase character (capitalized-comments)
(#732) Expected space or tab after '//' in comment. (spaced-comment)
(#741) Unexpected space before function parentheses. (space-before-function-paren)
(#747) Unexpected space before function parentheses. (space-before-function-paren)
(#755) Unexpected space before function parentheses. (space-before-function-paren)
(#762) Comments should not begin with a lowercase character (capitalized-comments)
(#762) Expected space or tab after '//' in comment. (spaced-comment)
(#764) 'wordnumber' used outside of binding context. (block-scoped-var)
(#764) 'wordnumber' used outside of binding context. (block-scoped-var)
(#764) 'wordnumber' used outside of binding context. (block-scoped-var)
(#766) 'isunmatched' used outside of binding context. (block-scoped-var)
(#766) 'wordnumber' used outside of binding context. (block-scoped-var)
(#767) Expected space or tab after '//' in comment. (spaced-comment)
(#767) Comments should not begin with a lowercase character (capitalized-comments)
(#768) 'isunmatched' used outside of binding context. (block-scoped-var)
(#769) 'wordnumber' used outside of binding context. (block-scoped-var)
(#772) Comments should not begin with a lowercase character (capitalized-comments)
(#772) Expected space or tab after '//' in comment. (spaced-comment)
(#774) Expected space or tab after '//' in comment. (spaced-comment)
(#776) 'wordnumber' used outside of binding context. (block-scoped-var)
(#776) 'wordnumber' is already defined. (no-redeclare)
(#776) 'wordnumber' used outside of binding context. (block-scoped-var)
(#776) 'wordnumber' used outside of binding context. (block-scoped-var)
(#778) 'isunmatched' is already defined. (no-redeclare)
(#778) 'isunmatched' used outside of binding context. (block-scoped-var)
(#778) 'wordnumber' used outside of binding context. (block-scoped-var)
(#779) Comments should not begin with a lowercase character (capitalized-comments)
(#779) Expected space or tab after '//' in comment. (spaced-comment)
(#780) 'isunmatched' used outside of binding context. (block-scoped-var)
(#781) 'wordnumber' used outside of binding context. (block-scoped-var)
(#784) Expected space or tab after '//' in comment. (spaced-comment)
(#784) Comments should not begin with a lowercase character (capitalized-comments)
(#786) Expected space or tab after '//' in comment. (spaced-comment)
(#790) Expected space or tab after '//' in comment. (spaced-comment)
(#790) Comments should not begin with a lowercase character (capitalized-comments)
(#793) Expected space or tab after '//' in comment. (spaced-comment)
(#793) Comments should not begin with a lowercase character (capitalized-comments)
(#794) Expected space or tab after '//' in comment. (spaced-comment)
(#799) Expected space or tab after '//' in comment. (spaced-comment)
(#799) Comments should not begin with a lowercase character (capitalized-comments)
(#800) Expected space or tab after '//' in comment. (spaced-comment)
(#801) Expected space or tab after '//' in comment. (spaced-comment)
(#804) Comments should not begin with a lowercase character (capitalized-comments)
(#804) Expected space or tab after '//' in comment. (spaced-comment)
(#819) Unexpected space before function parentheses. (space-before-function-paren)
(#820) Expected space or tab after '//' in comment. (spaced-comment)
(#827) Unexpected space before function parentheses. (space-before-function-paren)
(#831) Unexpected space before function parentheses. (space-before-function-paren)
(#840) Unexpected space before function parentheses. (space-before-function-paren)
(#842) Comments should not begin with a lowercase character (capitalized-comments)
(#842) Expected space or tab after '//' in comment. (spaced-comment)
(#845) Unexpected space before function parentheses. (space-before-function-paren)
(#849) Expected space or tab after '//' in comment. (spaced-comment)
(#849) Comments should not begin with a lowercase character (capitalized-comments)
(#863) Comments should not begin with a lowercase character (capitalized-comments)
(#863) Expected space or tab after '//' in comment. (spaced-comment)
(#864) Unexpected space before function parentheses. (space-before-function-paren)
(#865) Comments should not begin with a lowercase character (capitalized-comments)
(#865) Expected space or tab after '//' in comment. (spaced-comment)
(#866) Expected space or tab after '//' in comment. (spaced-comment)
(#884) Identifier 'markup_maybeselfcorrects' is not in camel case. (camelcase)
(#884) Unexpected space before function parentheses. (space-before-function-paren)
(#888) Expected space or tab after '//' in comment. (spaced-comment)
(#888) Comments should not begin with a lowercase character (capitalized-comments)
(#889) Unexpected space before function parentheses. (space-before-function-paren)
(#890) 'maybe' is assigned a value but never used. (no-unused-vars)
(#890) Comments should not begin with a lowercase character (capitalized-comments)
(#891) Expected space or tab after '//' in comment. (spaced-comment)
(#891) Comments should not begin with a lowercase character (capitalized-comments)
(#907) Comments should not begin with a lowercase character (capitalized-comments)
(#907) Expected space or tab after '//' in comment. (spaced-comment)
(#916) Unexpected space before function parentheses. (space-before-function-paren)
(#918) Unexpected space before function parentheses. (space-before-function-paren)
(#918) 'index' is defined but never used. (no-unused-vars)
(#919) Unexpected 'this'. (no-invalid-this)
(#923) Unexpected 'this'. (no-invalid-this)
(#926) Comments should not begin with a lowercase character (capitalized-comments)
(#926) Expected space or tab after '//' in comment. (spaced-comment)
(#929) Unexpected 'this'. (no-invalid-this)
(#932) Unexpected 'this'. (no-invalid-this)
(#937) Unexpected space before function parentheses. (space-before-function-paren)
(#942) Comments should not begin with a lowercase character (capitalized-comments)
(#942) Expected space or tab after '//' in comment. (spaced-comment)
(#943) Expected space or tab after '//' in comment. (spaced-comment)
(#951) Expected space or tab after '//' in comment. (spaced-comment)
(#951) Comments should not begin with a lowercase character (capitalized-comments)
(#959) Expected space or tab after '//' in comment. (spaced-comment)
(#959) Comments should not begin with a lowercase character (capitalized-comments)
(#967) Expected space or tab after '//' in comment. (spaced-comment)
(#967) Comments should not begin with a lowercase character (capitalized-comments)
mod/readaloud/amd/src/hiddenplayerhelper.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#15) Unexpected space before function parentheses. (space-before-function-paren)
(#15) 'opts' is defined but never used. (no-unused-vars)
(#20) Identifier 'register_controls' is not in camel case. (camelcase)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Identifier 'register_events' is not in camel case. (camelcase)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Expected space or tab after '//' in comment. (spaced-comment)
(#28) Comments should not begin with a lowercase character (capitalized-comments)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#29) 'e' is defined but never used. (no-unused-vars)
(#30) Unexpected 'this'. (no-invalid-this)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Each then() should return a value or throw (promise/always-return)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#51) 'error' is defined but never used. (no-unused-vars)
(#52) Comments should not begin with a lowercase character (capitalized-comments)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#70) 'index' is defined but never used. (no-unused-vars)
(#71) Unexpected 'this'. (no-invalid-this)
(#73) Unexpected 'this'. (no-invalid-this)
(#75) Unexpected 'this'. (no-invalid-this)
(#76) Unexpected 'this'. (no-invalid-this)
(#77) Expected space or tab after '//' in comment. (spaced-comment)
(#77) Comments should not begin with a lowercase character (capitalized-comments)
(#78) Expected space or tab after '//' in comment. (spaced-comment)
(#79) Unexpected 'this'. (no-invalid-this)
(#81) Unexpected 'this'. (no-invalid-this)
(#82) Unexpected 'this'. (no-invalid-this)
(#85) Unexpected 'this'. (no-invalid-this)
(#86) Unexpected 'this'. (no-invalid-this)
(#87) Unexpected 'this'. (no-invalid-this)
(#91) Comments should not begin with a lowercase character (capitalized-comments)
(#91) Expected space or tab after '//' in comment. (spaced-comment)
mod/readaloud/amd/src/popoverhelper.js
(#1) Line 1 exceeds the maximum line length of 132. (max-len)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#20) Expected space or tab after '//' in comment. (spaced-comment)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#26) Identifier 'register_events' is not in camel case. (camelcase)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Comments should not begin with a lowercase character (capitalized-comments)
(#31) Expected space or tab after '//' in comment. (spaced-comment)
(#32) Expected space or tab after '//' in comment. (spaced-comment)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Expected space or tab after '//' in comment. (spaced-comment)
(#64) Comments should not begin with a lowercase character (capitalized-comments)
(#72) Unexpected space before function parentheses. (space-before-function-paren)
(#73) Unexpected 'this'. (no-invalid-this)
(#74) Line 74 exceeds the maximum line length of 132. (max-len)
(#75) Line 75 exceeds the maximum line length of 132. (max-len)
(#80) Expected space or tab after '//' in comment. (spaced-comment)
(#80) Comments should not begin with a lowercase character (capitalized-comments)
(#91) Unexpected space before function parentheses. (space-before-function-paren)
(#93) Expected space or tab after '//' in comment. (spaced-comment)
(#93) Comments should not begin with a lowercase character (capitalized-comments)
(#100) Expected space or tab after '//' in comment. (spaced-comment)
(#100) Comments should not begin with a lowercase character (capitalized-comments)
(#107) Expected space or tab after '//' in comment. (spaced-comment)
(#107) Comments should not begin with a lowercase character (capitalized-comments)
(#117) Expected space or tab after '//' in comment. (spaced-comment)
(#117) Comments should not begin with a lowercase character (capitalized-comments)
(#118) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Unexpected alert. (no-alert)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#122) Unexpected alert. (no-alert)
(#125) Expected space or tab after '//' in comment. (spaced-comment)
(#125) Comments should not begin with a lowercase character (capitalized-comments)
mod/readaloud/amd/src/recorderhelper.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Identifier 'on_recording_start' is not in camel case. (camelcase)
(#14) Identifier 'on_recording_end' is not in camel case. (camelcase)
(#15) Identifier 'on_audio_processing' is not in camel case. (camelcase)
(#18) ["recorderid"] is better written in dot notation. (dot-notation)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Expected space or tab after '//' in comment. (spaced-comment)
(#21) Comments should not begin with a lowercase character (capitalized-comments)
(#34) Expected space or tab after '//' in comment. (spaced-comment)
(#34) Comments should not begin with a lowercase character (capitalized-comments)
(#41) Unexpected alert. (no-alert)
(#47) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Expected space or tab after '//' in comment. (spaced-comment)
(#49) Comments should not begin with a lowercase character (capitalized-comments)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Expected space or tab after '//' in comment. (spaced-comment)
(#53) Comments should not begin with a lowercase character (capitalized-comments)
(#56) Expected space or tab after '//' in comment. (spaced-comment)
(#56) Comments should not begin with a lowercase character (capitalized-comments)

CSS problems

(3 errors, 6 warnings)

This section shows CSS problems detected by stylelint [More info]

mod/readaloud/styles.css
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#133) Expected "#CCCCCC" to be "#cccccc" (color-hex-case)
(#182) Expected "#CCCCCC" to be "#cccccc" (color-hex-case)
(#133) Expected "#CCCCCC" to be "#CCC" (color-hex-length)
(#182) Expected "#CCCCCC" to be "#CCC" (color-hex-length)
(#312) Unexpected duplicate "border" (declaration-block-no-duplicate-properties)
(#173) Unexpected unit (length-zero-no-unit)
(#292) Unexpected unit (length-zero-no-unit)
(#5) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(418 errors, 37 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/readaloud/ajaxhelper.php
(#2) Empty line found after PHP open tag
(#81) Function save_to_moodle is not documented
(#120) Function register_aws_task is not documented
(#22) Package mod_ReadAloud is not valid
mod/readaloud/backup/moodle2/backup_readaloud_activity_task.class.php
(#2) Empty line found after PHP open tag
(#33) Class backup_readaloud_activity_task does not have @copyright tag
(#33) Class backup_readaloud_activity_task does not have @license tag
mod/readaloud/backup/moodle2/backup_readaloud_stepslib.php
(#2) Empty line found after PHP open tag
(#47) Found comment starting with three or more slashes
(#49) Found comment starting with three or more slashes
(#31) Class backup_readaloud_activity_structure_step does not have @copyright tag
(#31) Class backup_readaloud_activity_structure_step does not have @license tag
mod/readaloud/backup/moodle2/restore_readaloud_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class restore_readaloud_activity_task
(#30) Class restore_readaloud_activity_task does not have @copyright tag
(#30) Class restore_readaloud_activity_task does not have @license tag
mod/readaloud/backup/moodle2/restore_readaloud_stepslib.php
(#2) Empty line found after PHP open tag
(#35) Function restore_readaloud_activity_structure_step::define_structure is not documented
(#71) Function restore_readaloud_activity_structure_step::process_readaloud is not documented
(#87) Function restore_readaloud_activity_structure_step::process_readaloud_attempt is not documented
(#106) Function restore_readaloud_activity_structure_step::process_readaloud_ai_result is not documented
(#125) Function restore_readaloud_activity_structure_step::after_execute is not documented
(#41) Found comment starting with three or more slashes
(#43) Found comment starting with three or more slashes
(#54) Found comment starting with three or more slashes
(#56) Found comment starting with three or more slashes
(#18) No one-line description found in phpdocs for file
(#30) Class restore_readaloud_activity_structure_step does not have @copyright tag
(#30) Class restore_readaloud_activity_structure_step does not have @license tag
mod/readaloud/classes/aigrade.php
(#15) Class aigrade is not documented
(#16) Function aigrade::__construct is not documented
(#50) Function aigrade::aidetails is not documented
(#81) Function aigrade::has_attempt is not documented
(#88) Function aigrade::send_to_gradebook is not documented
(#95) Function aigrade::has_transcripts is not documented
(#100) Function aigrade::is_ai_enabled is not documented
(#106) Function aigrade::create_record is not documented
(#126) Function aigrade::fetch_transcripts is not documented
(#159) Function aigrade::do_diff is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#15) Package is not specified for class aigrade. It is also not specified in file-level phpdocs
mod/readaloud/classes/constants.php
(#13) Class constants is not documented
(#15) Constant constants::M_COMPONENT is not documented
(#16) Constant constants::M_FILEAREA_SUBMISSIONS is not documented
(#17) Constant constants::M_TABLE is not documented
(#18) Constant constants::M_USERTABLE is not documented
(#19) Constant constants::M_AITABLE is not documented
(#20) Constant constants::M_MODNAME is not documented
(#21) Constant constants::M_URL is not documented
(#22) Constant constants::M_CLASS is not documented
(#25) Constant constants::M_GRADEHIGHEST is not documented
(#26) Constant constants::M_GRADELOWEST is not documented
(#27) Constant constants::M_GRADELATEST is not documented
(#28) Constant constants::M_GRADEAVERAGE is not documented
(#29) Constant constants::M_GRADENONE is not documented
(#31) Constant constants::ACCMETHOD_NONE is not documented
(#32) Constant constants::ACCMETHOD_AUTO is not documented
(#33) Constant constants::ACCMETHOD_FIXED is not documented
(#34) Constant constants::ACCMETHOD_NOERRORS is not documented
(#36) Constant constants::POSTATTEMPT_NONE is not documented
(#37) Constant constants::POSTATTEMPT_EVAL is not documented
(#38) Constant constants::POSTATTEMPT_EVALERRORS is not documented
(#40) Constant constants::REVIEWMODE_NONE is not documented
(#41) Constant constants::REVIEWMODE_MACHINE is not documented
(#42) Constant constants::REVIEWMODE_HUMAN is not documented
(#43) Constant constants::REVIEWMODE_SCORESONLY is not documented
(#45) Constant constants::MACHINEGRADE_NONE is not documented
(#46) Constant constants::MACHINEGRADE_MACHINE is not documented
(#49) Constant constants::M_RECORD_BUTTON is not documented
(#50) Constant constants::M_START_BUTTON is not documented
(#51) Constant constants::M_UPDATE_CONTROL is not documented
(#52) Constant constants::M_DRAFT_CONTROL is not documented
(#53) Constant constants::M_PROGRESS_CONTAINER is not documented
(#54) Constant constants::M_HIDER is not documented
(#55) Constant constants::M_STOP_BUTTON is not documented
(#56) Constant constants::M_WHERETONEXT_CONTAINER is not documented
(#57) Constant constants::M_RECORD_BUTTON_CONTAINER is not documented
(#58) Constant constants::M_START_BUTTON_CONTAINER is not documented
(#59) Constant constants::M_STOP_BUTTON_CONTAINER is not documented
(#60) Constant constants::M_RECORDERID is not documented
(#61) Constant constants::M_RECORDING_CONTAINER is not documented
(#62) Constant constants::M_RECORDER_CONTAINER is not documented
(#63) Constant constants::M_DUMMY_RECORDER is not documented
(#64) Constant constants::M_RECORDER_INSTRUCTIONS_RIGHT is not documented
(#65) Constant constants::M_RECORDER_INSTRUCTIONS_LEFT is not documented
(#66) Constant constants::M_INSTRUCTIONS_CONTAINER is not documented
(#67) Constant constants::M_PASSAGE_CONTAINER is not documented
(#68) Constant constants::M_POSTATTEMPT is not documented
(#69) Constant constants::M_FEEDBACK_CONTAINER is not documented
(#70) Constant constants::M_ERROR_CONTAINER is not documented
(#71) Constant constants::M_GRADING_ERROR_CONTAINER is not documented
(#72) Constant constants::M_GRADING_ERROR_IMG is not documented
(#73) Constant constants::M_GRADING_ERROR_SCORE is not documented
(#74) Constant constants::M_GRADING_WPM_CONTAINER is not documented
(#75) Constant constants::M_GRADING_WPM_IMG is not documented
(#76) Constant constants::M_GRADING_WPM_SCORE is not documented
(#77) Constant constants::M_GRADING_ACCURACY_CONTAINER is not documented
(#78) Constant constants::M_GRADING_ACCURACY_IMG is not documented
(#79) Constant constants::M_GRADING_ACCURACY_SCORE is not documented
(#80) Constant constants::M_GRADING_SESSION_SCORE is not documented
(#81) Constant constants::M_GRADING_SESSIONSCORE_CONTAINER is not documented
(#82) Constant constants::M_GRADING_SCORE is not documented
(#83) Constant constants::M_GRADING_PLAYER_CONTAINER is not documented
(#84) Constant constants::M_GRADING_PLAYER is not documented
(#85) Constant constants::M_GRADING_ACTION_CONTAINER is not documented
(#86) Constant constants::M_GRADING_FORM_SESSIONTIME is not documented
(#87) Constant constants::M_GRADING_FORM_SESSIONSCORE is not documented
(#88) Constant constants::M_GRADING_FORM_WPM is not documented
(#89) Constant constants::M_GRADING_FORM_ACCURACY is not documented
(#90) Constant constants::M_GRADING_FORM_SESSIONENDWORD is not documented
(#91) Constant constants::M_GRADING_FORM_SESSIONERRORS is not documented
(#92) Constant constants::M_GRADESADMIN_CONTAINER is not documented
(#93) Constant constants::M_HIDDEN_PLAYER is not documented
(#94) Constant constants::M_HIDDEN_PLAYER_BUTTON is not documented
(#95) Constant constants::M_HIDDEN_PLAYER_BUTTON_ACTIVE is not documented
(#96) Constant constants::M_HIDDEN_PLAYER_BUTTON_PAUSED is not documented
(#97) Constant constants::M_HIDDEN_PLAYER_BUTTON_PLAYING is not documented
(#98) Constant constants::M_EVALUATED_MESSAGE is not documented
(#101) Constant constants::M_LANG_ENUS is not documented
(#102) Constant constants::M_LANG_ENUK is not documented
(#103) Constant constants::M_LANG_ENAU is not documented
(#104) Constant constants::M_LANG_ENIN is not documented
(#105) Constant constants::M_LANG_ESUS is not documented
(#106) Constant constants::M_LANG_ESES is not documented
(#107) Constant constants::M_LANG_FRCA is not documented
(#108) Constant constants::M_LANG_FRFR is not documented
(#109) Constant constants::M_LANG_DEDE is not documented
(#110) Constant constants::M_LANG_ITIT is not documented
(#111) Constant constants::M_LANG_PTBR is not documented
(#112) Constant constants::M_LANG_DADK is not documented
(#114) Constant constants::TRANSCRIBER_NONE is not documented
(#115) Constant constants::TRANSCRIBER_AMAZONTRANSCRIBE is not documented
(#116) Constant constants::TRANSCRIBER_GOOGLECLOUDSPEECH is not documented
(#117) Constant constants::TRANSCRIBER_GOOGLECHROME is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#13) Package is not specified for class constants. It is also not specified in file-level phpdocs
mod/readaloud/classes/diff.php
(#2) Empty line found after PHP open tag
(#19) Class diff is not documented
(#31) Function diff::fetchWordArray is not documented
(#58) Function diff::cleanText is not documented
(#116) Function diff::fetchAlternativesArray is not documented
(#162) Function diff::generous_match is not documented
(#193) Function diff::fetchSequences is not documented
(#328) Function diff::debug_print_sequence is not documented
(#346) Function diff::check_alternatives_for_match is not documented
(#383) Function diff::fetchWildcardsArray is not documented
(#402) Function diff::mb_strequals is not documented
(#417) Function diff::cmp is not documented
(#441) Function diff::fetchDiffs is not documented
(#564) Function diff::applyWildcards is not documented
(#22) Constant diff::MATCHED is not documented
(#23) Constant diff::UNMATCHED is not documented
(#24) Constant diff::ALTERNATEMATCH is not documented
(#25) Constant diff::NOTALTERNATEMATCH is not documented
mod/readaloud/classes/form/alternatives.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Found comment starting with three or more slashes
(#23) Found comment starting with three or more slashes
(#44) Not recommended phpdocs tag @abstract used
(#39) Package is not specified for class alternatives. It is also not specified in file-level phpdocs
mod/readaloud/classes/gradenow.php
(#45) Function gradenow::__construct is not documented
(#76) Function gradenow::get_next_ungraded_id is not documented
(#98) Function gradenow::update is not documented
(#116) Function gradenow::attemptdetails is not documented
(#143) Function gradenow::formdetails is not documented
(#181) Function gradenow::prepare_javascript is not documented
(#39) Variable gradenow::$modulecontextid is not documented
(#40) Variable gradenow::$attemptid is not documented
(#41) Variable gradenow::$attemptdata is not documented
(#42) Variable gradenow::$activitydata is not documented
(#43) Variable gradenow::$aidata is not documented
mod/readaloud/classes/output/gradenow_renderer.php
(#14) Class gradenow_renderer is not documented
(#16) Function gradenow_renderer::render_attempt_scoresheader is not documented
(#27) Function gradenow_renderer::render_gradenow is not documented
(#37) Function gradenow_renderer::render_userreview is not documented
(#46) Function gradenow_renderer::render_machinereview is not documented
(#59) Function gradenow_renderer::render_machinereview_buttons is not documented
(#82) Function gradenow_renderer::render_debuginfo is not documented
(#114) Function gradenow_renderer::render_attempt_header is not documented
(#119) Function gradenow_renderer::render_machinegrade_attempt_header is not documented
(#124) Function gradenow_renderer::render_passage is not documented
(#182) Function gradenow_renderer::render_passageactions is not documented
(#210) Function gradenow_renderer::render_audioplayer is not documented
(#218) Function gradenow_renderer::render_hiddenaudioplayer is not documented
(#224) Function gradenow_renderer::render_wpmdetails is not documented
(#233) Function gradenow_renderer::render_sessionscoredetails is not documented
(#243) Function gradenow_renderer::render_accuracydetails is not documented
(#253) Function gradenow_renderer::render_mistakedetails is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class gradenow_renderer. It is also not specified in file-level phpdocs
mod/readaloud/classes/output/renderer.php
(#14) Class renderer is not documented
(#235) Function renderer::show_ungradedyet is not documented
(#317) Function renderer::show_humanevaluated_message is not documented
(#323) Function renderer::show_machineevaluated_message is not documented
(#423) Function renderer::fetch_activity_amd is not documented
(#38) Found comment starting with three or more slashes
(#2) No one-line description found in phpdocs for file
(#66) There is no description in phpdocs for function reattemptbutton
(#79) There is no description in phpdocs for function show_wheretonext
(#98) There is no description in phpdocs for function show_machineregradeallbutton
(#111) There is no description in phpdocs for function show_pushmachinegrades
(#132) There is no description in phpdocs for function show_all_mistranscriptions
(#215) There is no description in phpdocs for function show_currenterrorestimate
(#225) There is no description in phpdocs for function exceededattempts
(#19) Phpdocs for function renderer::header has incomplete parameters list
(#66) Phpdocs for function renderer::reattemptbutton has incomplete parameters list
(#79) Phpdocs for function renderer::show_wheretonext has incomplete parameters list
(#98) Phpdocs for function renderer::show_machineregradeallbutton has incomplete parameters list
(#111) Phpdocs for function renderer::show_pushmachinegrades has incomplete parameters list
(#133) Phpdocs for function renderer::show_all_mistranscriptions has incomplete parameters list
(#215) Phpdocs for function renderer::show_currenterrorestimate has incomplete parameters list
(#225) Phpdocs for function renderer::exceededattempts has incomplete parameters list
(#241) Phpdocs for function renderer::show_gradesadmin_heading has incomplete parameters list
(#254) Phpdocs for function renderer::show_welcome has incomplete parameters list
(#268) Phpdocs for function renderer::show_intro has incomplete parameters list
(#281) Phpdocs for function renderer::show_passage_postattempt has incomplete parameters list
(#292) Phpdocs for function renderer::show_passage has incomplete parameters list
(#304) Phpdocs for function renderer::show_progress has incomplete parameters list
(#329) Phpdocs for function renderer::show_feedback has incomplete parameters list
(#342) Phpdocs for function renderer::show_feedback_postattempt has incomplete parameters list
(#356) Phpdocs for function renderer::show_error has incomplete parameters list
(#368) Phpdocs for function renderer::show_recorder has incomplete parameters list
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class renderer. It is also not specified in file-level phpdocs
mod/readaloud/classes/output/report_renderer.php
(#13) Class report_renderer is not documented
(#15) Function report_renderer::render_reportmenu is not documented
(#33) Function report_renderer::render_delete_allattempts is not documented
(#41) Function report_renderer::render_reporttitle_html is not documented
(#47) Function report_renderer::render_empty_section_html is not documented
(#52) Function report_renderer::render_exportbuttons_html is not documented
(#65) Function report_renderer::render_grading_exportbuttons_html is not documented
(#78) Function report_renderer::render_section_csv is not documented
(#108) Function report_renderer::render_section_html is not documented
(#146) Function report_renderer::show_reports_footer is not documented
(#155) Function report_renderer::show_perpage_selector is not documented
(#177) Function report_renderer::show_grading_footer is not documented
(#187) Function report_renderer::show_export_buttons is not documented
(#197) Function report_renderer::show_machinegrading_footer is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#13) Package is not specified for class report_renderer. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/attempts.php
(#14) Class attempts is not documented
(#22) Function attempts::fetch_formatted_field is not documented
(#88) Function attempts::fetch_formatted_heading is not documented
(#99) Function attempts::process_raw_data is not documented
(#16) Variable attempts::$report is not documented
(#17) Variable attempts::$fields is not documented
(#18) Variable attempts::$headingdata is not documented
(#19) Variable attempts::$qcache is not documented
(#20) Variable attempts::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class attempts. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/basereport.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#52) Function basereport::process_raw_data is not documented
(#54) Function basereport::fetch_formatted_heading is not documented
(#56) Function basereport::fetch_fields is not documented
(#60) Function basereport::fetch_head is not documented
(#68) Function basereport::fetch_name is not documented
(#72) Function basereport::fetch_all_rows_count is not documented
(#76) Function basereport::truncate is not documented
(#83) Function basereport::fetch_cache is not documented
(#94) Function basereport::fetch_formatted_time is not documented
(#104) Function basereport::fetch_time_difference is not documented
(#122) Function basereport::fetch_formatted_rows is not documented
(#146) Function basereport::fetch_formatted_field is not documented
(#46) Variable basereport::$report is not documented
(#47) Variable basereport::$head is not documented
(#48) Variable basereport::$rawdata is not documented
(#49) Variable basereport::$fields is not documented
(#50) Variable basereport::$dbcache is not documented
mod/readaloud/classes/report/basic.php
(#13) Class basic is not documented
(#21) Function basic::fetch_formatted_field is not documented
(#46) Function basic::fetch_formatted_heading is not documented
(#56) Function basic::process_raw_data is not documented
(#15) Variable basic::$report is not documented
(#16) Variable basic::$fields is not documented
(#17) Variable basic::$headingdata is not documented
(#18) Variable basic::$qcache is not documented
(#19) Variable basic::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#13) Package is not specified for class basic. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/grading.php
(#14) Class grading is not documented
(#23) Function grading::fetch_formatted_field is not documented
(#163) Function grading::fetch_formatted_heading is not documented
(#174) Function grading::process_raw_data is not documented
(#16) Variable grading::$report is not documented
(#17) Variable grading::$fields is not documented
(#19) Variable grading::$headingdata is not documented
(#20) Variable grading::$qcache is not documented
(#21) Variable grading::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class grading. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/gradingbyuser.php
(#14) Class gradingbyuser is not documented
(#22) Function gradingbyuser::fetch_formatted_heading is not documented
(#33) Function gradingbyuser::fetch_formatted_field is not documented
(#135) Function gradingbyuser::process_raw_data is not documented
(#16) Variable gradingbyuser::$report is not documented
(#17) Variable gradingbyuser::$fields is not documented
(#18) Variable gradingbyuser::$headingdata is not documented
(#19) Variable gradingbyuser::$qcache is not documented
(#20) Variable gradingbyuser::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class gradingbyuser. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/machinegrading.php
(#14) Class machinegrading is not documented
(#23) Function machinegrading::fetch_formatted_field is not documented
(#154) Function machinegrading::fetch_formatted_heading is not documented
(#164) Function machinegrading::process_raw_data is not documented
(#16) Variable machinegrading::$report is not documented
(#17) Variable machinegrading::$fields is not documented
(#19) Variable machinegrading::$headingdata is not documented
(#20) Variable machinegrading::$qcache is not documented
(#21) Variable machinegrading::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class machinegrading. It is also not specified in file-level phpdocs
mod/readaloud/classes/report/machinegradingbyuser.php
(#14) Class machinegradingbyuser is not documented
(#22) Function machinegradingbyuser::fetch_formatted_heading is not documented
(#33) Function machinegradingbyuser::fetch_formatted_field is not documented
(#89) Function machinegradingbyuser::process_raw_data is not documented
(#16) Variable machinegradingbyuser::$report is not documented
(#17) Variable machinegradingbyuser::$fields is not documented
(#18) Variable machinegradingbyuser::$headingdata is not documented
(#19) Variable machinegradingbyuser::$qcache is not documented
(#20) Variable machinegradingbyuser::$ucache is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#14) Package is not specified for class machinegradingbyuser. It is also not specified in file-level phpdocs
mod/readaloud/classes/task/readaloud_s3_adhoc.php
(#86) Function readaloud_s3_adhoc::do_retry_soon is not documented
(#99) Function readaloud_s3_adhoc::do_retry_delayed is not documented
(#104) Function readaloud_s3_adhoc::do_forever_fail is not documented
mod/readaloud/classes/task/readaloud_scheduled.php
(#40) Function readaloud_scheduled::get_name is not documented
mod/readaloud/classes/utils.php
(#40) Function utils::make_audio_URL is not documented
(#54) Function utils::can_transcribe is not documented
(#79) Function utils::is_json is not documented
(#94) Function utils::curl_fetch is not documented
(#107) Function utils::fetch_token_for_display is not documented
(#164) Function utils::fetch_token is not documented
(#240) Function utils::lines_to_brs is not documented
(#247) Function utils::fetch_duration_from_transcript is not documented
(#263) Function utils::fetch_duration_from_transcript_json is not documented
(#285) Function utils::fetch_duration_from_transcript_gjson is not documented
(#308) Function utils::fetch_audio_points is not documented
(#329) Function utils::fetch_audio_points_json is not documented
(#375) Function utils::fetch_audio_points_gjson is not documented
(#424) Function utils::processscores is not documented
(#484) Function utils::count_sessionerrors is not documented
(#495) Function utils::get_aieval_byuser is not documented
(#505) Function utils::estimate_errors is not documented
(#523) Function utils::fetch_all_mistranscriptions is not documented
(#565) Function utils::fetch_attempt_mistranscriptions is not documented
(#588) Function utils::fetch_one_mistranscription is not documented
(#693) Function utils::get_postattempt_options is not documented
(#702) Function utils::get_grade_options is not documented
(#710) Function utils::get_accadjust_options is not documented
(#719) Function utils::get_region_options is not documented
(#732) Function utils::get_machinegrade_options is not documented
(#739) Function utils::get_timelimit_options is not documented
(#753) Function utils::get_expiredays_options is not documented
(#767) Function utils::fetch_options_transcribers is not documented
(#774) Function utils::get_lang_options is not documented
(#426) Found comment starting with three or more slashes
(#645) Found comment starting with three or more slashes
(#664) Phpdocs for function utils::fetch_next_activity has incomplete parameters list
mod/readaloud/db/access.php
(#2) Empty line found after PHP open tag
mod/readaloud/db/install.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/readaloud/db/log.php
(#2) Empty line found after PHP open tag
mod/readaloud/db/tasks.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/readaloud/db/uninstall.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/readaloud/db/upgrade.php
(#2) Empty line found after PHP open tag
mod/readaloud/gradesadmin.php
(#2) Empty line found after PHP open tag
(#107) Found comment starting with three or more slashes
mod/readaloud/grading.php
(#2) Empty line found after PHP open tag
(#120) Found comment starting with three or more slashes
mod/readaloud/index.php
(#2) Empty line found after PHP open tag
(#29) Found comment starting with three or more slashes
mod/readaloud/lang/en/readaloud.php
(#2) Empty line found after PHP open tag
mod/readaloud/lib.php
(#2) Empty line found after PHP open tag
(#90) Function readaloud_editor_with_files_options is not documented
(#95) Function readaloud_editor_no_files_options is not documented
(#384) Function readaloud_get_completion_state is not documented
(#389) Function readaloud_is_complete is not documented
(#438) Function readaloud_get_editornames is not documented
(#471) Function readaloud_process_editors is not documented
(#37) Found comment starting with three or more slashes
(#39) Found comment starting with three or more slashes
(#155) Found comment starting with three or more slashes
(#636) Found comment starting with three or more slashes
(#638) Found comment starting with three or more slashes
(#681) Found comment starting with three or more slashes
(#683) Found comment starting with three or more slashes
(#764) Found comment starting with three or more slashes
(#766) Found comment starting with three or more slashes
(#73) Phpdocs for function readaloud_reset_course_form_definition has incomplete parameters list
(#104) Phpdocs for function readaloud_reset_gradebook has incomplete parameters list
(#431) Phpdocs for function readaloud_dotask has incomplete parameters list
(#450) Phpdocs for function readaloud_add_instance has incomplete parameters list
(#492) Phpdocs for function readaloud_update_instance has incomplete parameters list
(#546) Phpdocs for function readaloud_user_outline has incomplete parameters list
(#576) Phpdocs for function readaloud_print_recent_activity has incomplete parameters list
(#606) Phpdocs for function readaloud_print_recent_mod_activity has incomplete parameters list
(#648) Phpdocs for function readaloud_scale_used has incomplete parameters list
(#667) Phpdocs for function readaloud_scale_used_anywhere has incomplete parameters list
(#773) Phpdocs for function readaloud_extend_navigation has incomplete parameters list
(#102) Not recommended phpdocs tag @global used
(#102) Not recommended phpdocs tag @global used
(#125) Not recommended phpdocs tag @global used
(#125) Not recommended phpdocs tag @global used
(#283) Not recommended phpdocs tag @global used
(#283) Not recommended phpdocs tag @global used
(#629) Not recommended phpdocs tag @example used
(#654) Not recommended phpdocs tag @example used
(#673) Not recommended phpdocs tag @example used
(#607) Invalid inline phpdocs tag @see found
mod/readaloud/manageattempts.php
(#2) Empty line found after PHP open tag
(#85) Found comment starting with three or more slashes
(#97) Found comment starting with three or more slashes
mod/readaloud/mod_form.php
(#2) Empty line found after PHP open tag
(#255) Function mod_readaloud_mod_form::completion_rule_enabled is not documented
(#259) Function mod_readaloud_mod_form::data_preprocessing is not documented
(#35) Class mod_readaloud_mod_form does not have @copyright tag
(#35) Class mod_readaloud_mod_form does not have @license tag
mod/readaloud/refreshtoken.php
(#2) Empty line found after PHP open tag
(#22) Package Mod_ReadAloud is not valid
mod/readaloud/reports.php
(#2) Empty line found after PHP open tag
(#82) Found comment starting with three or more slashes
mod/readaloud/settings.php
(#2) Empty line found after PHP open tag
(#21) Package mod is not valid
mod/readaloud/tabs.php
(#2) Empty line found after PHP open tag
(#32) Found comment starting with three or more slashes
mod/readaloud/version.php
(#2) Empty line found after PHP open tag
mod/readaloud/view.php
(#2) Empty line found after PHP open tag
(#71) Found comment starting with three or more slashes

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]