Releases: phalcon/talon
Releases · phalcon/talon
v0.2.0
Changed
Added
AbstractUnitTestCase::mockWithoutConstructor()/mockWithConstructor()- build a test
double with the constructor disabled or invoked (with constructor arguments), keeping the
non-overridden methods real. Method overrides become stubs (a Closure body, a return value,
ornullfor a type-safe default) and property overrides are set via reflection. Built as a
stub on PHPUnit 12+ (so no "mock object without expectations" notice is raised); works across
PHPUnit 10.5-13.
Fixed
ServicesTraitnow skips (instead of erroring) when the backing client is unavailable: the
memcached helpers skip whenext-memcachedis not loaded, and the redis helpers skip when the
predis/predispackage is not installed.