Skip to content

Change EncapsedStringsToSprintfRector to always use sprintf #8690

@ruudk

Description

@ruudk

I looked at the EncapsedStringsToSprintfRector rule and it seems that it chooses when to use concat or sprintf.

In our team, we'd like to always use sprintf.

Would it be OK if I send a PR to modify the EncapsedStringsToSprintfRector so that this mode can be configured? The default behavior can be the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions