fmido88 / moodle-local_devassist

Developer Assistace
Other
0 stars 0 forks source link

Namespace collisions #4

Open volodymyrdovhan opened 1 month ago

volodymyrdovhan commented 1 month ago

Hello,

According to Moodle standards, all custom classes that are not part of the core API should be placed in the 'classes/local' folder to avoid potential namespace collisions. You can refer to the guidelines here: Namespace Collisions - Moodle Plugin Checklist

Additionally, please review the rules for level 2 namespaces: Level 2 Namespaces

fmido88 commented 1 week ago

I checked that its ok to use custom classes in level 1, I'm not sure which class may cause the problem image As mentioned custom classes could be placed on level 1 If it is not ok I'll move all of them to classes/local