Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The JS Example doesn't meet Drupal coding standards according to phpcs.
Proposed resolution
Make the suggestions by phpcs.
Comment | File | Size | Author |
---|---|---|---|
#2 | update_js_example_to-2662908-2.patch | 9.12 KB | jlbellido |
|
Comments
Comment #2
jlbellidoAdd a new patch for solving all errors found by CS at the JS example.
Thanks!
Comment #4
Mile23So I totally get why you did this, and the reasons are all good. It's a little bit of overkill, however, especially given that we have the {% trans %} tag in twig. So we'll commit this and then move over to templates later.
Committed and fixed. Thanks!