mudrd8mz / moodle-tool_pluginskel

Generator of Moodle plugins skeletons
https://moodle.org/plugins/tool_pluginskel
Other
51 stars 46 forks source link

Quotation marks in skel/file/version.mustache #6

Closed alexandru-elisei closed 8 years ago

alexandru-elisei commented 8 years ago

According to Moodle docs there are no quotatin marks around the version property.

It works with the quotes, this is just a minor detail but I thought I mentioned it so the templates are according to the docs.

mudrd8mz commented 8 years ago

Version number is important field. We should validate it similarly to the regex that is used for $plugin->requires and use it without quotes.