Ref T13428. Historically, "implode()" accepts arguments in either order. PHP 7.4+ warns about glue not being first.
Add a lint check when the second parameter is a static scalar, implying it is the glue parameter.
Differential D20857
Add a lint check for deprecated argument order to "implode()" epriestley on Oct 17 2019, 4:05 PM. Authored by Tags None Referenced Files
Subscribers None
Details Ref T13428. Historically, "implode()" accepts arguments in either order. PHP 7.4+ warns about glue not being first. Add a lint check when the second parameter is a static scalar, implying it is the glue parameter. Ran unit tests. See next change.
Diff Detail
|