-
Notifications
You must be signed in to change notification settings - Fork 444
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
Add PHP8.1 testing to Travis environment #7690
Comments
It looks like PHP8.1 support is not yet great on Travis.
There are a lot of discussions about backwards compatibility being broken in the PHP internals list: This is also relevant: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg For some reason I haven't been able to track down yet, PHP really wants to dump these to stdout, breaking AJAX interactions and redirects. This seems to be due to something in OJS or a dependency; a straight-up call to an affected function in vanilla PHP doesn't seem to mind. (Looking at you, Smarty?) Edit: It looks like 8.1.0 is available specifically for most distros, but there is no 8.1 alias as there is for previous major branches. Smarty is indeed pickier, and many of the adjustments have gone there. In particular, passing a |
Until we're early in a 3.3.0-x release cycle, and until 3.1.0 gets a little stabler, I've committed the changes to |
OJS/OMP/OPS 3.3.0 and
main
(pre-3.4) should be tested against PHP8.1.PRs:
The text was updated successfully, but these errors were encountered: