add back @dataProvider annotations

This partially reverts 50cdb7bf4a to be able
to run tests on the 3.x branch for the extra packages with Twig 4 being
installed as we are still using PHPUnit 9.6 on the 3.x branch.
This commit is contained in:
Christian Flothmann
2025-02-27 09:26:23 +01:00
parent d8cc7c6340
commit 2f3329e266
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -100,6 +100,8 @@ abstract class IntegrationTestCase extends TestCase
}
/**
* @dataProvider getTests
*
* @return void
*/
#[DataProvider('getTests')]
@@ -109,6 +111,8 @@ abstract class IntegrationTestCase extends TestCase
}
/**
* @dataProvider getLegacyTests
*
* @group legacy
*
* @return void
+2
View File
@@ -36,6 +36,8 @@ abstract class NodeTestCase extends TestCase
abstract public static function provideTests(): iterable;
/**
* @dataProvider provideTests
*
* @return void
*/
#[DataProvider('provideTests')]