DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -149,14 +149,13 @@ final class PaginatorTest extends KernelTestCase
* @param int $totalItems
* @param int $itemPerPage
* @param int $currentPage
* @param mixed $expectedHasNextPage
* @dataProvider generateHasPreviousPage
*/
public function testHasPreviousPage(
$totalItems,
$itemPerPage,
$currentPage,
$expectedHasNextPage
mixed $expectedHasNextPage
) {
$paginator = $this->generatePaginator($totalItems, $itemPerPage, $currentPage);
@@ -215,15 +214,13 @@ final class PaginatorTest extends KernelTestCase
/**
* @param int $itemPerPage
* @param string $route
* @param mixed $totalItems
* @param mixed $currentPageNumber
*
* @return Paginator
*/
protected function generatePaginator(
$totalItems,
mixed $totalItems,
$itemPerPage,
$currentPageNumber = 1,
mixed $currentPageNumber = 1,
$route = '',
array $routeParameters = []
) {