lock icon indicating copy to clipboard operation
lock copied to clipboard

Please add support for PHPUnit 11

Open jvalleroy opened this issue 1 year ago • 0 comments

I would like to update the Debian package to be compatible with PHPUnit 11 (in experimental branch currently): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070567

I have identified a few of the changes needed:

  • Add static to test providers.
    • Change $this-> to self::.
    • Need to find a replacement for getMockForAbstractClass. Maybe a callback that is called within the test case.
  • Change setMethods to onlyMethods or addMethods.

There could be additional changes needed, this is just what I found so far.

jvalleroy avatar Aug 09 '24 13:08 jvalleroy