mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
upgrade phpunit: make data provider static
This commit is contained in:
@@ -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],
|
||||
|
Reference in New Issue
Block a user