apply rules rector up to php82

This commit is contained in:
2023-05-01 21:39:45 +02:00
parent 81e8928344
commit 6d63177ff4
733 changed files with 1257 additions and 1322 deletions

View File

@@ -33,18 +33,18 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
*/
class CustomFieldDate extends AbstractCustomField
{
public const DATE_FORMAT = DateTime::RFC3339;
final public const DATE_FORMAT = DateTime::RFC3339;
public const FORMAT = 'format';
final public const FORMAT = 'format';
public const MAX = 'max';
final public const MAX = 'max';
/**
* key for the minimal value of the field.
*/
public const MIN = 'min';
final public const MIN = 'min';
public function __construct(private TwigEngine $templating, private TranslatableStringHelper $translatableStringHelper)
public function __construct(private readonly TwigEngine $templating, private readonly TranslatableStringHelper $translatableStringHelper)
{
}