$this->t() should be used instead of t() as per coding standards.
| Comment | File | Size | Author |
|---|---|---|---|
| #29 | interdiff_26-29.txt | 7.66 KB | slucero |
| #29 | 3299960-29.patch | 13.64 KB | slucero |
Issue fork patternkit-3299960
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
Munavijayalakshmi commentedComment #4
sluceroHi @Munavijayalakshmi, thank you for posting the contribution! It looks like from the testing results some of the changes in your patch include replacement within static functions where
$thisis unavailable. Would you mind adjusting the patch to not change those?Comment #5
lucasscHello, @Munavijayalakshmi and @slucero!
I applied the patch from #2 and reverted the changes within static functions.
Please, review this.
Comment #7
lucasscReverted remaining changes within static functions.
Comment #9
lucasscTests in #7 were still failing, so I tried a new patch now reverting the change in src/Plugin/Derivative/PatternkitBlock.php:177.
Please, review this.
Comment #10
lucasscComment #12
akshaydalvi212 commentedHello,
Thanks for the patch,
While reviewing the patch, still encountered some similar warnings as mentioned below:

Need to update patch #9 to eliminate the remaining warnings as well.
Thanks and regards
Comment #13
akshaydalvi212 commentedHello,
Providing the updated patch which can eliminate the remaining warning related to t() tobe replaced by $this->t():
Kindly review and provide feedback on the same.
Thanks and regards
Comment #15
anoopsingh92Comment #16
anoopsingh92Hi, I have applied a patch please review this. Thanks
Comment #17
anoopsingh92Comment #19
anoopsingh92Review this patch.
Comment #20
anoopsingh92Comment #21
jatingupta40 commentedI will review this patch.
Comment #23
jatingupta40 commentedProviding a patch, please review.
Thanks
Comment #25
alanmoreira commentedI'll work on this =)
Comment #26
alanmoreira commentedNew patch done. Leaving unassigned and changing status to "Needs review"
Comment #27
Tauany Bueno commentedhi! i'll review it :)
Comment #28
Tauany Bueno commentedHello!!
I reviewed the patches and ran phpcs, and didn't find any warning regarding t() calls.
Changing to RTBC :)
Comment #29
sluceroI found some additional places that weren't in an object context that got changed and I've reverted those. Aside from those tweaks, this should be good to go.
Thanks for the contributions everybody!
Comment #31
sluceroMerged! Thanks for the work everybody!