Skip to content

Releases: phalcon/talon

v0.2.0

28 Jun 02:51
2239695

Choose a tag to compare

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,
    or null for 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

  • ServicesTrait now skips (instead of erroring) when the backing client is unavailable: the
    memcached helpers skip when ext-memcached is not loaded, and the redis helpers skip when the
    predis/predis package is not installed.

Removed

v0.1

27 Jun 19:13
e96f434

Choose a tag to compare

Initial Release