Problem/Motivation

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

phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme .

Proposed resolution

auto_nodetitle/auto_nodetitle.drush.inc:40 fix order.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3181391-2.patch592 bytesjoelpittet

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new592 bytes

Here's the patch, I touched up the spacing on that line because it wouldn't break other patches, hope that's ok?

joelpittet’s picture

Title: 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 » Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4

  • joelpittet authored fb22366 on 7.x-1.x
    Issue #3181391 by joelpittet: Passing the $glue and $pieces parameters...
gaurav.kapoor’s picture

Status: Needs review » Fixed

Thanks @Joelpittet.

Status: Fixed » Closed (fixed)

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