mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
upgrade phpunit: make data provider static
This commit is contained in:
@@ -21,7 +21,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
final class ExtractDateFromPatternTest extends TestCase
|
||||
{
|
||||
public function provideSubjects()
|
||||
public static function provideSubjects()
|
||||
{
|
||||
yield ['15/06/1981', '', 1, '1981-06-15'];
|
||||
|
||||
|
@@ -22,7 +22,7 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||
*/
|
||||
final class ExtractPhonenumberFromPatternTest extends KernelTestCase
|
||||
{
|
||||
public function provideData()
|
||||
public static function provideData()
|
||||
{
|
||||
yield ['BE', 'Diallo', 0, [], 'Diallo', 'no phonenumber'];
|
||||
|
||||
|
Reference in New Issue
Block a user