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.
As of Drupal 8 all JS needs to follow our JavaScript coding standards. For this we use ESLint to check most of our standards.
Here is the summary of running ESLint on this module JS:
✖ 3 problems (3 errors, 0 warnings)
Attached is the full list of errors found by ESLint.
Comment | File | Size | Author |
---|---|---|---|
#4 | new_views_php.patch | 700 bytes | Swetha Yarla |
#2 | views_php.patch | 1.76 KB | MurthyVittala |
Comments
Comment #2
MurthyVittala CreditAttribution: MurthyVittala at Melity commentedHere is the patch file to fix the js errors in Views Php module.
Comment #3
MurthyVittala CreditAttribution: MurthyVittala at Melity commentedComment #4
Swetha Yarla CreditAttribution: Swetha Yarla at Melity commentedHere is the new Patch file to fix the js errors in Views php module
Comment #5
rooby CreditAttribution: rooby commentedWhat is the reason for the patch in #4?
At a glance the patch in #2 looks better, the patch in #4 will leave incorrect indentation.