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.
PHPUnit 10 has breaking changes regarding data providers. These must be static now.
However,
\Twig\Test\IntegrationTestCaseuses non-static data providers.The errors look like this:
Unfortunately, the needed change looks like a breaking change.
IntegrationTestCase::getTestsdepends on$this->getFixturesDir()which is abstract. Consumers would need to change this as well then.