<?xml version="1.0"?>
<smurf version="0.9.0"><check title="Coding style problems" url="http://docs.moodle.org/dev/Coding_style"><description>This sections shows the coding style problems detected in the code by phpcs</description><mess><problem file="course/externallib.php" linefrom="563" lineto="563" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="course/externallib.php" linefrom="563" lineto="563" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="course/externallib.php" linefrom="563" lineto="563" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// summary format" but found "//summary format"</message><description/><code/></problem><problem file="course/externallib.php" linefrom="1092" lineto="1092" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 147 characters</message><description/><code/></problem><problem file="group/externallib.php" linefrom="103" lineto="103" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="group/externallib.php" linefrom="103" lineto="103" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="group/externallib.php" linefrom="103" lineto="103" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// validate format" but found "//validate format"</message><description/><code/></problem><problem file="group/externallib.php" linefrom="180" lineto="180" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 135 characters</message><description/><code/></problem><problem file="group/externallib.php" linefrom="245" lineto="245" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 143 characters</message><description/><code/></problem><problem file="group/externallib.php" linefrom="250" lineto="250" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 135 characters</message><description/><code/></problem><problem file="group/externallib.php" linefrom="790" lineto="790" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 147 characters</message><description/><code/></problem><problem file="group/externallib.php" linefrom="864" lineto="864" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 147 characters</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="685" lineto="685" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="685" lineto="685" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="685" lineto="685" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// get settings (singleton)" but found "//get settings (singleton)"</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="693" lineto="693" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="713" lineto="713" method="" class="" package="" api="" ruleset="Generic" rule="PHP.LowerCaseConstant.Found" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="730" lineto="730" method="" class="" package="" api="" ruleset="Squiz" rule="WhiteSpace.ScopeClosingBrace.ContentBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Closing brace must be on a line by itself</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="735" lineto="735" method="" class="" package="" api="" ruleset="Squiz" rule="WhiteSpace.ScopeClosingBrace.ContentBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Closing brace must be on a line by itself</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="743" lineto="743" method="" class="" package="" api="" ruleset="Generic" rule="PHP.LowerCaseConstant.Found" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"</message><description/><code/></problem><problem file="message/externallib.php" linefrom="157" lineto="157" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// WARNINGS: for backward compatibility we return this errormessage." but found "//WARNINGS: for backward compatibility we return this errormessage."</message><description/><code/></problem><problem file="message/externallib.php" linefrom="159" lineto="159" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="56" lineto="56" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 169 characters</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="56" lineto="56" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="56" lineto="56" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="56" lineto="56" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// for backward compatibility it can not be PARAM_INT, so we don't use external_format_value" but found "//for backward compatibility it can not be PARAM_INT, so we don't use external_format_value"</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="137" lineto="137" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="137" lineto="137" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="137" lineto="137" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// need to support 'html' and 'text' format values for backward compatibility" but found "//need to support 'html' and 'text' format values for backward compatibility"</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="177" lineto="177" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NoSpaceBefore" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>No space before comment text; expected "// WARNINGS: for backward compatibility we return this errormessage." but found "//WARNINGS: for backward compatibility we return this errormessage."</message><description/><code/></problem><problem file="notes/externallib.php" linefrom="179" lineto="179" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="user/lib.php" linefrom="326" lineto="326" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="user/lib.php" linefrom="328" lineto="328" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 134 characters</message><description/><code/></problem><problem file="user/lib.php" linefrom="422" lineto="422" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 146 characters</message><description/><code/></problem><problem file="user/lib.php" linefrom="426" lineto="426" method="" class="" package="" api="" ruleset="moodle" rule="Files.LineLength.TooLong" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Line exceeds 132 characters; contains 135 characters</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="968" lineto="968" method="" class="" package="" api="" ruleset="Generic" rule="WhiteSpace.ScopeIndent.Incorrect" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Line indented incorrectly; expected 4 spaces, found 5</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="973" lineto="973" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="979" lineto="979" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="981" lineto="981" method="" class="" package="" api="" ruleset="moodle" rule="ControlStructures.ControlSignature" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Expected "foreach (...) {\n"; found "foreach(...) {\n"</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="985" lineto="985" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="994" lineto="994" method="" class="" package="" api="" ruleset="Squiz" rule="WhiteSpace.ScopeClosingBrace.Indent" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Closing brace indented incorrectly; expected 5 spaces, found 4</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="1371" lineto="1371" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.NotCapital" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must start with a capital letter, digit or 3-dots sequence</message><description/><code/></problem><problem file="webservice/lib.php" linefrom="1372" lineto="1372" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/rest/locallib.php" linefrom="62" lineto="62" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/rest/locallib.php" linefrom="65" lineto="65" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem><problem file="webservice/rest/locallib.php" linefrom="68" lineto="68" method="" class="" package="" api="" ruleset="moodle" rule="Commenting.InlineComment.InvalidEndChar" url="http://docs.moodle.org/dev/Coding_style" weight="1"><message>Inline comments must end in  full-stops, exclamation marks, or question marks</message><description/><code/></problem></mess></check><check title="PHPDocs style problems" url="http://docs.moodle.org/dev/Coding_style"><description>This sections shows the phpdocs problems detected in the code by local_moodlecheck</description><mess><problem file="lib/externallib.php" linefrom="617" lineto="617" method="" class="" package="" api="" ruleset="moodle" rule="phpdocsfistline" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>No one-line description found in phpdocs for class external_format_value</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="701" lineto="701" method="" class="" package="" api="" ruleset="moodle" rule="phpdocsfistline" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>No one-line description found in phpdocs for class external_settings</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="673" lineto="673" method="" class="" package="" api="" ruleset="moodle" rule="functionarguments" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for function external_format_text has incomplete parameters list</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="759" lineto="759" method="" class="" package="" api="" ruleset="moodle" rule="functionarguments" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for function external_settings::get_raw has incomplete parameters list</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="712" lineto="712" method="" class="" package="" api="" ruleset="moodle" rule="variableshasvar" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for variable external_settings::$instance does not contain @var or incorrect</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="715" lineto="715" method="" class="" package="" api="" ruleset="moodle" rule="variableshasvar" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for variable external_settings::$raw does not contain @var or incorrect</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="718" lineto="718" method="" class="" package="" api="" ruleset="moodle" rule="variableshasvar" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for variable external_settings::$filter does not contain @var or incorrect</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="721" lineto="721" method="" class="" package="" api="" ruleset="moodle" rule="variableshasvar" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for variable external_settings::$fileurl does not contain @var or incorrect</message><description/><code/></problem><problem file="lib/externallib.php" linefrom="724" lineto="724" method="" class="" package="" api="" ruleset="moodle" rule="variableshasvar" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for variable external_settings::$file does not contain @var or incorrect</message><description/><code/></problem></mess></check></smurf>
