upgrade php-cs 3.49

This commit is contained in:
2024-02-07 10:43:53 +01:00
parent 51ebc253aa
commit 036fe8d6f8
257 changed files with 605 additions and 605 deletions

View File

@@ -498,11 +498,11 @@ final class ExportManagerTest extends KernelTestCase
* user 'center a_social' from database.
*/
protected function createExportManager(
LoggerInterface $logger = null,
EntityManagerInterface $em = null,
AuthorizationCheckerInterface $authorizationChecker = null,
AuthorizationHelper $authorizationHelper = null,
UserInterface $user = null,
?LoggerInterface $logger = null,
?EntityManagerInterface $em = null,
?AuthorizationCheckerInterface $authorizationChecker = null,
?AuthorizationHelper $authorizationHelper = null,
?UserInterface $user = null,
array $exports = [],
array $aggregators = [],
array $filters = [],

View File

@@ -102,7 +102,7 @@ class SortExportElementTest extends KernelTestCase
private function makeTranslator(): TranslatorInterface
{
return new class () implements TranslatorInterface {
public function trans(string $id, array $parameters = [], string $domain = null, string $locale = null)
public function trans(string $id, array $parameters = [], ?string $domain = null, ?string $locale = null)
{
return $id;
}