You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
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.The text was updated successfully, but these errors were encountered: