-
Notifications
You must be signed in to change notification settings - Fork 46
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
Validate command fails on PHP 8 #98
Comments
I reproduced it on the open-source repo in GHA: there it complains about the line
I can see some pattern here... branch: https://github.com/marinaglancy/moodle-mod_coursecertificate/tree/test311 It also fails on phpdocs command but afaik it was already fixed in moodlehq/moodle-local_moodlecheck#72 , just not tagged yet |
seems relevant: |
Hi @marinaglancy , maybe, once #99 is reviewed and, hopefully lands... you can try with your plugin pointing to dev-master (instead of ^3). That way it will use the latest code that comes with an update of the php-parser from versions 3.x to 4.x (that in theory supports php80). Let's see... |
yes, confirming that #99 fixed it! Thanks! |
We have a strange failure for the validate command on one of workplace plugins (in gitlab CI):
The rest of the log is fine.
The line 85 in admin/tool/dynamicrule/db/upgrade.php is:
There is nothing wrong with this line, it's the beginning of the function call spread over several lines.
The same plugin does not produce any errors on PHP 7
The text was updated successfully, but these errors were encountered: