Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more hints to plugins validation requirements #330

Open
kabalin opened this issue Nov 5, 2024 · 0 comments
Open

Add more hints to plugins validation requirements #330

kabalin opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kabalin
Copy link
Member

kabalin commented Nov 5, 2024

Following #326 it is now possible to enhance plugins validate tests with FileTokens::notFoundHint like used at https://github.com/moodlehq/moodle-plugin-ci/blob/main/src/PluginValidate/Requirements/FilterRequirements.php#L61 which will be added to output following the error:

X In filter.php, failed to find function call class_alias
X Hint: https://moodledev.io/docs/4.5/devupdate#filter-plugins

Adding those hints to other types of plugins validation requirements will improve developer experience (DevEx), making it easy to find relevant information to address the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant