Problem/Motivation

Checking for PHP 7.4 compatibility yields this:

FILE: elysia_cron.drush.inc
---------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------
 131 | WARNING | Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4; $glue should be the first parameter and $pieces the
     |         | second
---------------------------------------------------------

Steps to reproduce

Proposed resolution

Update code to use correct param order.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Comments

ndewhurst created an issue. See original summary.

ndewhurst’s picture

StatusFileSize
new553 bytes

Here is a patch making this simple change.

ndewhurst’s picture

Assigned: ndewhurst » Unassigned
Category: Support request » Bug report
Status: Needs work » Needs review
kala4ek’s picture

Assigned: Unassigned » kala4ek

  • kala4ek committed 84064c6 on 7.x-2.x authored by ndewhurst
    Issue #3163649 by ndewhurst, kala4ek: [PHP 7.4] implode() parameter...
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.