phpunit-data-provider icon indicating copy to clipboard operation
phpunit-data-provider copied to clipboard

Feature Request - Change class name in v4?

Open donatj opened this issue 6 months ago • 4 comments

First off thanks again for this library, I use it all the time.

I've got a little change… request? Not really a "feature"

PHPunit 10 introduced the DataProvider attribute and now the DataProvider abstact class from this collides when using the attribute in my tests.

I end up just aliasing \TRegx\PhpUnit\DataProviders\DataProvider to TRegxDataProvider

It'd be a breaking change, but I'd like to just put in a suggestion that we change from

\TRegx\PhpUnit\DataProviders\DataProvider to \TRegx\PhpUnit\DataProviders\DataProviders

donatj avatar Aug 01 '25 19:08 donatj