Open danmarsden opened 6 months ago
along those same lines - function names like "get_user_providers" in yoru lib.php are not allowed: https://github.com/AgrosupDijon-DSI/moodle-local_ibob/blob/main/local/ibob/lib.php#L53
all functions in that file should be prefixed with "local_ibob"
https://github.com/AgrosupDijon-DSI/moodle-local_ibob/blob/main/local/ibob/emailconfirmation.php#L105
These function names violate our naming conventions (see: https://moodledev.io/general/development/policies/codingstyle/frankenstyle#function-names)
but the files shouldn't mix inline php code and functions.
functions should be in a standalone file like lib.php or locallib.php or in namespaced classes within the classes folder.
note this is a blocker for plugins db approval.