Skip to content

Possible regression due sprintf: TooManyArguments #9941

@ro0NL

Description

@ro0NL

After bumping global phar installation from v5 to master, including a cache removal, we see a 130 issues about sprintf in our codebase:

Too many arguments for the number of placeholders in sprintf (see https://psalm.dev/026)
$output->writeln(sprintf('Handling product %d => %d (%d)', $productId,  $categoryId, $position));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions