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

Deprecation warnings with PHP 8.2 #161

Closed
thepurpleblob opened this issue Oct 20, 2023 · 1 comment
Closed

Deprecation warnings with PHP 8.2 #161

thepurpleblob opened this issue Oct 20, 2023 · 1 comment
Labels

Comments

@thepurpleblob
Copy link

Moodle 4.3 and PHP 8.2. Lots and lot of (just an example)...

Deprecated: Creation of dynamic property block_xp\local\routing\route_definition::$name is deprecated in /app/public/blocks/xp/classes/local/routing/route_definition.php on line 48

Deprecated: Creation of dynamic property block_xp\local\routing\route_definition::$url is deprecated in /app/public/blocks/xp/classes/local/routing/route_definition.php on line 49

Deprecated: Creation of dynamic property block_xp\local\routing\route_definition::$regex is deprecated in /app/public/blocks/xp/classes/local/routing/route_definition.php on line 50

Deprecated: Creation of dynamic property block_xp\local\routing\route_definition::$mapping is deprecated in /app/public/blocks/xp/classes/local/routing/route_definition.php on line 51

Deprecated: Creation of dynamic property block_xp\local\routing\route_definition::$controllername is deprecated in /app/public/blocks/xp/classes/local/routing/route_definition.php on line 52

Underlying issue looks like https://php.watch/versions/8.2/dynamic-properties-deprecated

As the latest version supports Moodle 4.3 and 4.3 supports PHP 8.2, it would be great if this could be fixed.

@FMCorz
Copy link
Owner

FMCorz commented Oct 20, 2023

Thanks @thepurpleblob. Odd that this had not been raised during our testing. We will address it soon. Thank you!

@FMCorz FMCorz added the bug label Oct 20, 2023
@FMCorz FMCorz closed this as completed in 6f61f31 Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants