Problem/Motivation
There is a very small usage of the deprecated ${} (dollar-outside) string interpolation method in Webform, in WebformSubmissionListBuilderCustomizeTest.php
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
Proposed resolution
This should be updated to use braces-outside. As in ${base_path}
-> {$base_path}
Comment | File | Size | Author |
---|---|---|---|
#10 | test3.jpg | 103.99 KB | WagnerMelo |
#10 | test2.jpg | 171.16 KB | WagnerMelo |
#10 | test.jpg | 115.75 KB | WagnerMelo |
Issue fork webform-3279988
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 #2
matheusmaciel CreditAttribution: matheusmaciel at CI&T commentedI'll try to work on it.
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThanks. Please target 6.1.x
Comment #5
matheusmaciel CreditAttribution: matheusmaciel at CI&T commentedI just submitted my first push to the Webform, actually the first one in the Drupal community, it'd be nice if someone could review it!
I changed the deprecated code as requested.
Comment #6
Liam MorlandLooks good. Thanks
Comment #7
Liam MorlandThere is also one in
tests/src/Functional/Element/WebformElementTableTest.php
.Comment #8
matheusmaciel CreditAttribution: matheusmaciel at CI&T commentedAlright, I'll work on it as well.
Comment #9
matheusmaciel CreditAttribution: matheusmaciel at CI&T commentedI just changed the deprecated code from tests/src/Functional/Element/WebformElementTableTest.php
Comment #10
WagnerMelo CreditAttribution: WagnerMelo at CI&T commentedI reviewed this issue, and everything works ok.
Comment #12
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #15
Liam MorlandThanks everyone. @matheusmaciel, congratulations on your first commit!
Comment #16
dpiCongrats!