Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in Drupal\gmap\GmapDefaults->__construct() (Zeile 107 of gmap/lib/Drupal/gmap/GmapDefaults.php

Ihr Suchbegriff

GMap ModuleIssues
PHP 7.4 compatibility
Reviewed & tested by the community
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
PHP 7.4
Reporter:
jacob.embree
Created:
6 Mar 2020 at 14:19 UTC
Updated:
10 Feb 2022 at 19:48 UTC
Jump to comment: Most recent, Most recent file
phpcs -p --standard=PHPCompatibility gmap

FILE: gmap/lib/Drupal/gmap/GmapDefaults.php
----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------
107 | 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

Solution: https://www.drupal.org/project/gmap/issues/3118279