-
Notifications
You must be signed in to change notification settings - Fork 0
Updated digital post handler #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated digital post handler #3
Conversation
2182f4f
to
1964c27
Compare
083b926
to
a30a0cb
Compare
a30a0cb
to
b0b898d
Compare
$elementInfoManager: "@plugin.manager.element_info" | ||
$webformTokenManager: "@webform.token_manager" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these really needed? Can we use
function __construct(
…
#[\Symfony\Component\DependencyInjection\Attribute\Autowire]
$elementInfoManager,
…
)
instead? Using an attribute may make the code easier to maintain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. phpcs
will deem this a possible useless override so i have ignored this specific sniff in the constructor.
modules/os2forms_digital_post/src/Drush/Commands/DigitalPostTestCommands.php
Show resolved
Hide resolved
modules/os2forms_digital_post/src/Helper/CertificateLocatorHelper.php
Outdated
Show resolved
Hide resolved
…per.php Co-authored-by: Mikkel Ricky <rimi@aarhus.dk>
/** | ||
* {@inheritDoc} | ||
*/ | ||
// phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't you add the attributes in AbstractMessageHelper
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! Updated..
1c0337b
to
c0c053e
Compare
https://leantime.itkdev.dk/#/tickets/showTicket/2726