-
Notifications
You must be signed in to change notification settings - Fork 139
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
PHP Fatal error Declaration of auth_oidc\tests\mockoidcclient #2596
Comments
Hello,
|
I have the same issue.There is a method signature mismatch in the getauthrequestparams method in the mockoidcclient class that causes compatibility issues. The parent method in the oidcclient class includes an additional parameter bool $selectaccount = false which is not present in mockoidcclient. Steps to Reproduce
The test suite fails with the following error message:
Environment Proposed Solution
|
Hi all, The fix to this issue has been included in the release from yesterday. Many thanks to @CarlosArceLopera for providing the solution. Regards, |
Moodle 4.4
PHP 8.1
auth_oidc master
PHP Fatal error: Declaration of auth_oidc\tests\mockoidcclient::getauthrequestparams($promptlogin = false, array $stateparams = [], array $extraparams = []) must be compatible with auth_oidc\oidcclient::getauthrequestparams($promptlogin = false, array $stateparams = [], array $extraparams = [], bool $selectaccount = false) in /var/www/html/auth/oidc/classes/tests/mockoidcclient.php on line 48
The text was updated successfully, but these errors were encountered: