Skip to content

Conversation

@linawolf
Copy link
Member


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Named arguments are actually not a hard requirement – #[Validate('NotEmpty')] (positional) is equal to #[Validate(validator: 'NotEmpty')] (named). Could we just drop "named" or replace it with something that has less technical impact, e.g. "single attributes"?


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

a custom message as string.
.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

With TYPO3 v14, passing a configuration array as the first argument to validation
attributes (for example :php:`#[Validate([ ... ])]`) has been deprecated
(:ref:`Deprecation #97559 <changelog:deprecation-97559-1760453281>`).
A new syntax using named attribute arguments was introduced with TYPO3 v14.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

With TYPO3 v14, passing a configuration array as the first argument to Extbase
attributes (for example :php:`#[FileUpload([ ... ])]`) has been deprecated
(:ref:`Deprecation #97559 <changelog:deprecation-97559-1760453281>`).
A new property-based configuration syntax using named attribute arguments was
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


.. versionchanged:: 14.0
Passing a configuration array to the FileUpload attribute has been deprecated.
Configuration must be provided via named attribute arguments. See
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Use properties for configuration of Extbase attributes

3 participants