Problem/Motivation
While adding phpstan to preview_link, it was complaining about
Access to an undefined property Drupal\dynamic_entity_reference\Plugin\Field\FieldType\DynamicEntityReferenceItem::$target_type
This is because we don't have $ infront of all the properties.
Issue fork dynamic_entity_reference-3400702
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:
Comments
Comment #3
acbramley commentedComment #4
acbramley commentedIgnore 3.x branch, accidentally committed to it in the MR fork.
Comment #5
jibranHehe, tbh, this was added before PHPStan started supporting it. :D
Comment #8
jibranCommitted and pushed to 4.x and 3.x. Thank you.