phpspec-typehintedmethods icon indicating copy to clipboard operation
phpspec-typehintedmethods copied to clipboard

Type hinted method generation for phpspec

Results 5 phpspec-typehintedmethods issues
Sort by recently updated
recently updated
newest added

Hi Ciaran, I did simple generation of use statements for generated code based on regular expression. What you think about this solution ?

This continues the discussion started by @docteurklein in https://github.com/phpspec/phpspec/issues/230#issuecomment-34307600 as he made a valid argument: Take the following spec: ``` php function it_does_something_with_a_token(ArrayToken $token) { $token->getId()->willReturn(1234); $this->foo($token)->shouldReturn(1234); } function it_does_something_special_with_object_token(ObjectToken...