•  
      request #13874 Support return type declaration for classes used in Simpletest mocking library
    Infos
    #13874
    Thomas Gerbet (tgerbet)
    2019-09-16 11:03
    2019-09-16 10:20
    15087
    Details
    Support return type declaration for classes used in Simpletest mocking library
    After a few months running PHPUnit and Simpletest for our legacy tests, it seems that not having the possibility to set return types on classes mocked by Simpletest is not a good enough incentive to move the existing tests to PHPUnit and that most of the time it is preferred to just not set the return type.
    Since it does not help with the migration, let's add the possibility to mock classes with methods having a return type in Simpletest.
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2019-09-16
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Integrated in Tuleap 11.5.99.219

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2019-09-16