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

Deprecated errors with PHP8.2 #186

Open
AnupamaSarjoshi opened this issue Jan 15, 2024 · 2 comments
Open

Deprecated errors with PHP8.2 #186

AnupamaSarjoshi opened this issue Jan 15, 2024 · 2 comments

Comments

@AnupamaSarjoshi
Copy link
Contributor

Hi Richard,

Hope you are doing well!

We are seeing some of the deprecation errors related to dynamic property creation when updated to PHP8.2. Could you please let us know if its ok for us to fix those and send across a pull request? Also, probably will need to update the CI workflow to run with PHP8.1 and PHP8.2.

Some of the errors I have listed in here:

  • Deprecated: Creation of dynamic property qtype_coderunner_question::$prototypeextra is deprecated in ...\workspace\ou-moodle2\question\type\questiontypebase.php on line 1015
  • Deprecated: Creation of dynamic property qtype_coderunner_question::$answers is deprecated in ...\workspace\ou-moodle2\question\type\coderunner\questiontype.php on line 590
  • Deprecated: Creation of dynamic property qtype_coderunner_question::$prototype is deprecated in ...\workspace\ou-moodle2\question\type\coderunner\question.php on line 998
  • Deprecated: Creation of dynamic property qtype_coderunner_question::$initialisationerrormessage is deprecated in C:\Users\as38293\workspace\ou-moodle2\question\type\coderunner\question.php on line 109

Thanks,
Anupama

CC: @timhunt

@trampgeek
Copy link
Owner

trampgeek commented Jan 16, 2024 via email

@AnupamaSarjoshi
Copy link
Contributor Author

Sure, thanks Richard. I will have a look at these.

Have a good holiday!

Best wishes,
Anupama

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