Resolve #3482567 "Convert announcements feed"
5 unresolved threads
Compare changes
Conflict: This file was added both in the source and target branches, but with different contents.
Ask someone with write access to resolve it.
+ 133
− 0
$output .= '<p>' . \t('The Announcements module displays announcements from the Drupal community. For more information, see the <a href=":documentation">online documentation for the Announcements module</a>.', [':documentation' => 'https://www.drupal.org/docs/core-modules-and-themes/core-modules/announcements-feed']) . '</p>';
$output .= '<dd>' . \t('Users with the "View drupal.org announcements" permission may click on the "Announcements" item in the administration toolbar, or access @link, to see all announcements relevant to the Drupal version of your site.', ['@link' => Link::createFromRoute(\t('Announcements'), 'announcements_feed.announcement')->toString()]) . '</dd>';
This is a rector thing.
There is no current coding standard against it and am issue where adding it may become standard for some global functions.
The other strong consideration is this is a complex automated process, the more manual steps the more likely a mistake will be made when regenerating from one of the inevitable conflicts.
Are strict types needed, or will it break something?
Current .module files don't have it. There is a risk adding it will break things since this initiate it more about covering as is which is why we can just regenerate the baseline.