mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -400,7 +400,7 @@ final class CustomFieldsChoiceTest extends KernelTestCase
|
||||
*
|
||||
* @param mixed $data deserialized data
|
||||
*/
|
||||
public function testIsEmptyValueEmpty($data)
|
||||
public function testIsEmptyValueEmpty(mixed $data)
|
||||
{
|
||||
$customField = $this->generateCustomField([
|
||||
CustomFieldChoice::ALLOW_OTHER => false,
|
||||
@@ -417,14 +417,12 @@ final class CustomFieldsChoiceTest extends KernelTestCase
|
||||
// test function isEmptyValue
|
||||
//
|
||||
////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* test the not empty with the not-empty data provider.
|
||||
*
|
||||
* @param mixed $data
|
||||
* @dataProvider serializedRepresentationDataProvider
|
||||
*/
|
||||
public function testIsEmptyValueNotEmpty($data)
|
||||
public function testIsEmptyValueNotEmpty(mixed $data)
|
||||
{
|
||||
$customField = $this->generateCustomField([
|
||||
CustomFieldChoice::ALLOW_OTHER => false,
|
||||
|
@@ -99,12 +99,10 @@ final class CustomFieldsGroupRenderingTwigTest extends KernelTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $slug
|
||||
* @param mixed $name
|
||||
*
|
||||
* @return CustomField
|
||||
*/
|
||||
private function getSimpleCustomFieldText($slug, $name)
|
||||
private function getSimpleCustomFieldText(mixed $slug, mixed $name)
|
||||
{
|
||||
return (new CustomField())
|
||||
->setSlug($slug)
|
||||
|
Reference in New Issue
Block a user