catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
70 stars 132 forks source link

PHP 8.2 Creation of dynamic property warnings #781 #789

Closed sammarshallou closed 4 months ago

sammarshallou commented 7 months ago

This branch fixes the dynamic property warnings listed in #781 (it's possible there might be others, we have not been running it very much yet).

Note: I tried to make it compatible with supported PHP versions, so the new field definitions don't have types except in phpdoc. The fields in auth.php needed to be public, otherwise tests fail.