A Moodle plugin to send xAPI statements to an LRS using events in the Moodle logstore.
GNU General Public License v3.0
76
stars
84
forks
source link
Refactor constant names to follow Moodle frankenstyle coding standard #831
Open
Undreli-Studios opened 2 years ago
Good day team, there are a few places that could need a bit of a refactor to comply with Moodle coding style standard.
Description
In the file 'lib.php' which you can see here https://github.com/xAPI-vle/moodle-logstore_xapi/blob/master/lib.php, contains a few constants with names that do not comply with Moodle coding standard. In particular they lack the Frankenstyle with the plugin name that you can check here: https://docs.moodle.org/dev/Coding_style#Constants, for example:
This should be:
Version
Expected behaviour
Actual behaviour
Thank you so much for you attention.