From 02adc27eff43d235aa613445b9cbd9df3049bf0c Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Tue, 13 Jun 2023 07:25:36 -0700 Subject: [PATCH] Mark PHPUnit data providers static Using non-static methods as a data provider was deprecated in PHPUnit 10 --- tests/Functional/Platform/AlterDecimalColumnTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Functional/Platform/AlterDecimalColumnTest.php b/tests/Functional/Platform/AlterDecimalColumnTest.php index 26eabb975fd..c8da12300b6 100644 --- a/tests/Functional/Platform/AlterDecimalColumnTest.php +++ b/tests/Functional/Platform/AlterDecimalColumnTest.php @@ -36,7 +36,7 @@ public function testAlterPrecisionAndScale(int $newPrecision, int $newScale): vo } /** @return iterable */ - public function scaleAndPrecisionProvider(): iterable + public static function scaleAndPrecisionProvider(): iterable { yield 'Precision' => [12, 6]; yield 'Scale' => [16, 8];