upgrade phpunit: make data provider static

This commit is contained in:
2024-02-14 12:28:14 +01:00
parent d5115b3718
commit f251e6f100
57 changed files with 142 additions and 121 deletions

View File

@@ -43,7 +43,7 @@ final class PaginatorTest extends KernelTestCase
*
* @return array
*/
public function generateHasNextPage()
public static function generateHasNextPage()
{
return [
[10, 10, 1, false],
@@ -53,7 +53,7 @@ final class PaginatorTest extends KernelTestCase
];
}
public function generateHasPage()
public static function generateHasPage()
{
return [
[10, 10, -1, false],
@@ -72,7 +72,7 @@ final class PaginatorTest extends KernelTestCase
*
* @return array
*/
public function generateHasPreviousPage()
public static function generateHasPreviousPage()
{
return [
[10, 10, 1, false],
@@ -88,7 +88,7 @@ final class PaginatorTest extends KernelTestCase
*
* @return array
*/
public function generatePageNumber()
public static function generatePageNumber()
{
return [
[12, 10, 2],