Skip to content

'join' alias is not processed by ConsistentImplodeRector.php #8662

@amfleurke

Description

@amfleurke

Bug Report

Subject Details
Rector version v1.1.0

Minimal PHP Code Causing Issue

join(['a'], "string");

https://getrector.com/demo/19b79beb-de09-488e-8a60-5ec82d8a9cdf

Expected Behaviour

join("string",['a']);

Either the rector should take the alias 'join' into account, OR the php80.php should do as first line:
$rectorConfig->ruleWithConfiguration(RenameFunctionRector::class, ['join' => 'implode']);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions