mlively/Phake — pull request #103 by RickWong (2013-03-30 23:44:18+00:00)
Title: Fixes #51: anyParameters() now respects its position in the argument matcher collection.

Implemented this idea:

> @mlively @bfeaver I'm thinking, maybe anyParameters() could be rewired so it doesn't eat up all the arguments, but only the arguments beginning from its position. That should be easy to write.

> Example: Phake::verify($mock)->myMethod($arg1, $arg2, Phake::anyParameters()); // Only care about $arg1 and $arg2.

> This change should be compatible with how anyParameters() is used right now.