<?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/dnduploadlib.php" linefrom="615" lineto="615" 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/dnduploadlib.php" linefrom="623" lineto="623" 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/format/renderer.php" linefrom="655" lineto="655" 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/format/renderer.php" linefrom="667" lineto="667" 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/format/renderer.php" linefrom="667" lineto="667" 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/format/renderer.php" linefrom="703" lineto="703" 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/format/renderer.php" linefrom="703" lineto="703" 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/format/topics/format.php" linefrom="47" lineto="47" 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/format/topics/format.php" linefrom="47" lineto="47" 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/format/weeks/format.php" linefrom="40" lineto="40" 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/format/weeks/format.php" linefrom="40" lineto="40" 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/lib.php" linefrom="1400" lineto="1400" 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/lib.php" linefrom="1400" lineto="1400" 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/lib.php" linefrom="1710" lineto="1710" 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/lib.php" linefrom="1710" lineto="1710" 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/lib.php" linefrom="2744" lineto="2744" 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="course/lib.php" linefrom="3078" lineto="3078" 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/lib.php" linefrom="3078" lineto="3078" 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/lib.php" linefrom="3863" lineto="3863" 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/lib.php" linefrom="3863" lineto="3863" 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/recent.php" linefrom="122" lineto="122" 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/recent.php" linefrom="122" lineto="122" 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/recent.php" linefrom="144" lineto="144" 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="course/tests/courselib_test.php" linefrom="85" lineto="85" 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/tests/courselib_test.php" linefrom="89" lineto="89" 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/tests/courselib_test.php" linefrom="89" lineto="89" 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/tests/courselib_test.php" linefrom="92" lineto="92" 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/tests/courselib_test.php" linefrom="92" lineto="92" 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/tests/courselib_test.php" linefrom="95" lineto="95" 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/tests/courselib_test.php" linefrom="301" lineto="301" 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/view.php" linefrom="243" lineto="243" 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/view.php" linefrom="243" lineto="243" 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/view.php" linefrom="246" lineto="246" 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/view.php" linefrom="247" lineto="247" 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="enrol/imsenterprise/lib.php" linefrom="437" lineto="437" 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="enrol/imsenterprise/lib.php" linefrom="437" lineto="437" 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 at least 24 spaces, found 20</message><description/><code/></problem><problem file="enrol/imsenterprise/lib.php" linefrom="438" lineto="438" 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 at least 24 spaces, found 20</message><description/><code/></problem><problem file="index.php" linefrom="110" lineto="110" 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 0 spaces, found 4</message><description/><code/></problem><problem file="index.php" linefrom="111" lineto="111" 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 8</message><description/><code/></problem><problem file="index.php" linefrom="112" lineto="112" 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="index.php" linefrom="112" lineto="112" 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="index.php" linefrom="114" lineto="114" 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="index.php" linefrom="114" lineto="114" 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="index.php" linefrom="118" lineto="118" 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 8</message><description/><code/></problem><problem file="lib/completionlib.php" linefrom="974" lineto="974" 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/completionlib.php" linefrom="974" lineto="974" 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/deprecatedlib.php" linefrom="2973" lineto="2973" 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/deprecatedlib.php" linefrom="3004" lineto="3004" 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 158 characters</message><description/><code/></problem><problem file="lib/deprecatedlib.php" linefrom="3032" lineto="3032" 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 158 characters</message><description/><code/></problem><problem file="lib/modinfolib.php" linefrom="369" lineto="369" 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/modinfolib.php" linefrom="1235" lineto="1235" 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/modinfolib.php" linefrom="1235" lineto="1235" 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/modinfolib.php" linefrom="1237" lineto="1237" 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 162 characters</message><description/><code/></problem><problem file="lib/modinfolib.php" linefrom="1248" lineto="1248" 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/modinfolib.php" linefrom="1260" lineto="1260" 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/modinfolib.php" linefrom="1267" lineto="1267" 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/modinfolib.php" linefrom="1267" lineto="1267" 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/modinfolib.php" linefrom="1271" lineto="1271" 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/modinfolib.php" linefrom="1271" lineto="1271" 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/tests/conditionlib_test.php" linefrom="207" lineto="207" method="" class="" package="" api="" ruleset="moodle" rule="WhiteSpace.SpaceAfterComma.NoSpace" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Commas (,) must be followed by white space.</message><description/><code/></problem><problem file="report/outline/user.php" linefrom="75" lineto="75" 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 8</message><description/><code/></problem><problem file="report/outline/user.php" linefrom="75" lineto="75" 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="report/outline/user.php" linefrom="77" lineto="77" 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 8 spaces, found 12</message><description/><code/></problem><problem file="report/outline/user.php" linefrom="90" lineto="90" 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="report/outline/user.php" linefrom="90" lineto="90" 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 12 spaces, found 16</message><description/><code/></problem><problem file="report/outline/user.php" linefrom="93" lineto="93" 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 16 spaces, found 20</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="course/lib.php" linefrom="2884" lineto="2884" method="" class="" package="" api="" ruleset="moodle" rule="functionsdocumented" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Function delete_mod_from_section is not documented</message><description/><code/></problem><problem file="course/tests/courselib_test.php" linefrom="65" lineto="65" method="" class="" package="" api="" ruleset="moodle" rule="functionsdocumented" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Function courselib_testcase::test_create_course_with_generator is not documented</message><description/><code/></problem><problem file="course/tests/courselib_test.php" linefrom="75" lineto="75" method="" class="" package="" api="" ruleset="moodle" rule="functionsdocumented" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Function courselib_testcase::test_create_course_sections is not documented</message><description/><code/></problem><problem file="course/tests/courselib_test.php" linefrom="299" lineto="299" method="" class="" package="" api="" ruleset="moodle" rule="functionsdocumented" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Function courselib_testcase::test_move_module_in_course is not documented</message><description/><code/></problem><problem file="lib/modinfolib.php" linefrom="723" lineto="723" method="" class="" package="" api="" ruleset="moodle" rule="functiondescription" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>There is no description in phpdocs for function has_view</message><description/><code/></problem><problem file="lib/modinfolib.php" linefrom="839" lineto="839" method="" class="" package="" api="" ruleset="moodle" rule="functiondescription" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>There is no description in phpdocs for function get_modinfo</message><description/><code/></problem><problem file="lib/phpunit/classes/data_generator.php" linefrom="385" lineto="385" method="" class="" package="" api="" ruleset="moodle" rule="functionarguments" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for function phpunit_data_generator::create_course_section has incomplete parameters list</message><description/><code/></problem></mess></check></smurf>
