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

Generate Files Uses Deprecated random_bytes_emulate #494

Closed
martygilbert opened this issue Jul 11, 2024 · 0 comments · Fixed by #495
Closed

Generate Files Uses Deprecated random_bytes_emulate #494

martygilbert opened this issue Jul 11, 2024 · 0 comments · Fixed by #495

Comments

@martygilbert
Copy link
Contributor

  • moosh version: 1.21
  • moodle version: 4.3.5+
    • database: MariaDB
  • php version: 8.3.9
  • operating system: Fedora Server 39

Actual behaviour

When executing moosh generate-files you get a deprecated warning for function random_bytes_emulate().

Expected behaviour

Should use random_bytes() and there should be no deprecated warning.

Steps to reproduce

  1. Try moosh generate-files <courseid> 1 1024
martygilbert added a commit to martygilbert/moosh that referenced this issue Jul 11, 2024
Fixes tmuras#494 - use the `random_bytes()` present in currently supported PHP
version instead.
tmuras pushed a commit that referenced this issue Jul 11, 2024
Fixes #494 - use the `random_bytes()` present in currently supported PHP
version instead.
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

Successfully merging a pull request may close this issue.

1 participant