•  
      request #46331 Replace mocks without expectations with stubs
    Infos
    #46331
    Thomas Gerbet (tgerbet)
    2026-01-02 11:45
    2026-01-02 10:18
    48057
    Details
    Replace mocks without expectations with stubs

    PHPUnit now triggers notices (request #46328) when a mock is used instead of a stub.

    Tuleap test suites requires some adjustments.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Under implementation
    Empty
    Attachments
    Empty
    References
    Referenced by request #46331

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2026-01-02 11:45
    • Summary
      -Replace mocks without expactations with stubs 
      +Replace mocks without expectations with stubs