Deprecated use of conditional expressions
deraadt opened this issue · 1 comments
deraadt commented
We were forced to upgrade to PHP 7.4.x as TurnItIn was failing to deal with non-latin characters with earlier PHP versions.
We are now seeing a deprecation warning in cron logs when a submission is being sent to TurnItIn.
Deprecated: Unparenthesized
a ? b : c ? d : eis deprecated. Use either
(a ? b : c) ? d : eor
a ? b : (c ? d : e) in C:\inetpub\wwwroot\moodle\plagiarism\turnitin\vendor\Integrations\phpsdk-package\src\Soap.php on line 284
The submission succeeds despite this.
jmcgettrick commented
This fix is now released