Skip to content

Warning: printf(): Too few arguments #1889

@Mariyo

Description

@Mariyo

Hello,

I've got strange issue with printf:

Static analysis returns [OK] No errors:
https://phpstan.org/r/9f50fcc7-89b2-4560-acd2-9c4a677d43d6

but PHP shows: Warning: printf(): Too few arguments:
http://sandbox.onlinephpfunctions.com/code/e596add638a9ec3b5bc7915e8cf5da011ce9dbe1

When I fix PHP code, I get error Call to printf contains 42 placeholders, 43 values given.
https://phpstan.org/r/07fe642b-8ee7-41ea-b005-8c99af7e118

Any ideas?

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