v0.2.0
A minor rather than a patch: new behaviour toward the consumer's own code
(an ignored arity report, a newly typed matcher) and a raised dependency
floor are both boundaries Composer's caret already treats as breaking on 0.x.
- The
rasuvaeff/understudyfloor rises to^0.4: the fixtures that prove
the new behaviour are written in the 0.4 idioms, and a lowest-versions run
against 0.1 would be proving nothing. Consumers on an older understudy stay
on the 0.1.x line of this package. - understudy 0.4 idioms (#6).
Arg::rest():
thearguments.countreport is ignored (via anIgnoreErrorExtension)
wherever a call's last written argument isArg::rest(); in a real call
the line is reported once, asunderstudy.matcherLeak— the leak is the
actual mistake, and the engine answers the call withArgumentCountError.
Arg::captor():$captor->capture()is typedneverlike theArg::
factories when the receiver is aCaptor, no longer counts against
"exactly one call per closure", and is reported byunderstudy.matcherLeak
when it reaches a real call;Arg::captor()itself stopped being collected
as a matcher — it is the factory, legitimately outside any specification,
and was falsely reported as a leak.