IntegrationTestCase: Compatibility with PHPUnit 10
PHPUnit 10 has breaking changes regarding data providers. These must be static now.
However, \Twig\Test\IntegrationTestCase uses non-static data providers.
The errors look like this:
* Data Provider method MyTest::getTests() is not static
* Data Provider method MyTest::getTests() expects an argument
Unfortunately, the needed change looks like a breaking change. IntegrationTestCase::getTests depends on $this->getFixturesDir() which is abstract. Consumers would need to change this as well then.
@SiebelsTim Would you like to work on a PR on the 3.x branch to improve the current situation?
Are there any plans to push that forward? Unfortunately this is the last thing blocking us from upgrading to newer PHPUnit versions.
Looking on #3813, I cannot exactly see why that was not merged or the review was continued in those days. @stof and @GromNaN: Is there something I can do to help finish this PR?
@FelixJacobi I'm not sure I understand: are you testing TwigPHP on your own projects?
I am testing Twig extensions using the IntegrationTestCase.