mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-06 23:48:50 +00:00
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:
@@ -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
|
||||
|
||||
@@ -36,6 +36,8 @@ abstract class NodeTestCase extends TestCase
|
||||
abstract public static function provideTests(): iterable;
|
||||
|
||||
/**
|
||||
* @dataProvider provideTests
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
#[DataProvider('provideTests')]
|
||||
|
||||
Reference in New Issue
Block a user