Problem/Motivation
Since 10.2.0, plugin implementations should use PHP attributes instead of annotations: #3252386: Use PHP attributes instead of doctrine annotations.
Proposed resolution
Introduce an attributes class and update any examples to use PHP attributes.
Issue fork entity_model-3397426
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3397426-provide-attribute-class
changes, plain diff MR !13
- 3397426-fix-tests
changes, plain diff MR !14
Comments
Comment #2
dieterholvoet commentedComment #3
dieterholvoet commentedComment #5
dieterholvoet commentedExamples still need to be updated. Could also be a good idea to document how this can be changed in bulk using Rector.
Comment #7
dieterholvoet commented