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

Refactoring - Simplify and Modernise Code #222

Open
hgeorgsch opened this issue May 3, 2023 · 1 comment
Open

Refactoring - Simplify and Modernise Code #222

hgeorgsch opened this issue May 3, 2023 · 1 comment

Comments

@hgeorgsch
Copy link
Contributor

The code should be reviewed with the following goals

  1. Harmonise the code with the core quiz, using similar patterns where possible.
  2. Benefit fully from the Moodle 4 qbank API.
  3. Avoid redundant code.
@sebastsg
Copy link
Member

Mentioning #231 here due to new qbank api usage, but it also modernizes a lot of code with return and param types, shortened array syntax, and removing/cleaning weird code - f.ex checking if new doesn't return false/null...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants