Skip to content
Checks style of phpdocs in moodle source file
PHP CSS
Find file
Pull request Compare This branch is 1 commit ahead of moodlehq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cli
lang/en
rules
README
file.php
index.php
locallib.php
renderer.php
settings.php
styles.css
version.php

README

Install the source into the local/moodlecheck directory in your moodle

Log in as admin and select:

Settings
  Site administration
    Development
      Moodle PHPdoc check

enter paths to check and select rules to use.

Customization:
--------------

You can add new rules by adding new php files in rules/ directory,
they will be included automatically.

Look at other files in this directory for examples.

Please note that if you register the rule with code 'mynewrule',
the rule registry will look in language file for strings
'rule_mynewrule' and 'error_mynewrule'. If they are not present,
the rule code will be used instead of the rule name and
default error message appears.
Something went wrong with that request. Please try again.