Skip to content

Prophecy Argument tokens should be accepted as values #17

Description

@Jean85

Code example:

$mock = $this->prophesize(SomeClass::class);
$mock->giveMeAString(Argument::type('string'))->willReturn();

Argument static methods in Prophecy let us define better and precise expectation. Right now, with this plugin, it gives an alert about type mismatching. It should not show that warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions