- Issue created by @davej
phpcs, checking PHP 8.1 compatibility, reports this for subscriptions 7.x-1.4:
FILE: subscriptions/subscriptions.module
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
819 | ERROR | Passing the $glue and $pieces parameters in reverse order to implode has been deprecated since PHP 7.4 and is removed since PHP 8.0; $glue should be the first parameter and $pieces the
| | second
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Run phpcs PHPCompatibility scan for PHP version 8.1 .
Amend line 819 of subscriptions.module to correct the order of parameters to implode().
Active
1.4
Code