<?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="admin/webservice/testclient_forms.php" linefrom="750" lineto="750" method="" class="" package="" api="" ruleset="moodle" rule="ControlStructures.ControlSignature" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Expected "} else if (...) {\n"; found "} else  if (...) {\n"</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="801" lineto="801" method="" class="" package="" api="" ruleset="Generic" rule="ControlStructures.InlineControlStructure.NotAllowed" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Inline control structures are not allowed</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="803" lineto="803" method="" class="" package="" api="" ruleset="Generic" rule="ControlStructures.InlineControlStructure.NotAllowed" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Inline control structures are not allowed</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="805" lineto="805" method="" class="" package="" api="" ruleset="Generic" rule="ControlStructures.InlineControlStructure.NotAllowed" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Inline control structures are not allowed</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="807" lineto="807" method="" class="" package="" api="" ruleset="Generic" rule="ControlStructures.InlineControlStructure.NotAllowed" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Inline control structures are not allowed</message><description/><code/></problem><problem file="course/externallib.php" linefrom="646" lineto="646" method="" class="" package="" api="" ruleset="Generic" rule="ControlStructures.InlineControlStructure.NotAllowed" url="http://docs.moodle.org/dev/Coding_style" weight="5"><message>Inline control structures are not allowed</message><description/><code/></problem><problem file="webservice/simpletest/testwebservice.php" linefrom="1741" lineto="1741" 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="webservice/simpletest/testwebservice.php" linefrom="1755" lineto="1755" 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></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="admin/webservice/testclient_forms.php" linefrom="731" lineto="731" method="" class="" package="" api="" ruleset="moodle" rule="classeshavecopyright" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Class core_course_update_categories_form does not have @copyright tag</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="731" lineto="731" method="" class="" package="" api="" ruleset="moodle" rule="classeshavelicense" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Class core_course_update_categories_form does not have @license tag</message><description/><code/></problem><problem file="admin/webservice/testclient_forms.php" linefrom="731" lineto="731" method="" class="" package="" api="" ruleset="moodle" rule="packagespecified" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Package is not specified for class core_course_update_categories_form. It is also not specified in file-level phpdocs</message><description/><code/></problem><problem file="course/externallib.php" linefrom="599" lineto="599" method="" class="" package="" api="" ruleset="moodle" rule="functionarguments" url="http://docs.moodle.org/dev/Coding_style" weight="3"><message>Phpdocs for function core_course_external::update_categories has incomplete parameters list</message><description/><code/></problem></mess></check></smurf>
