Skip to content

Feature Request: sscanf and fscanf return type provider #97

Description

@boesing

As of now, psalm is only able to provide possible return types.
With this plugin, it should be able to infer some of the return types.

Example:

sscanf('1', '%d', $integer);
[$integer] = sscanf('1', '%d');
// $integer should be an integer or null in both cases

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions