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.
Hi!
Just a few coding standards improvements.
I hope to help.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#2 | coding_standards-2888210-2.patch | 16.89 KB | gmaltoni |
Comments
Comment #2
gmaltoni CreditAttribution: gmaltoni at CI&T commentedComment #3
Algarte CreditAttribution: Algarte at CI&T commentedI've applied the patch #2 on a clean drupal environment and it is working fine for me.
I've also ran coder and didn't found any coder issue.
Comment #4
bapi_22 CreditAttribution: bapi_22 at Cybage Software Pvt Ltd. commentedHi Algarte,
Getting error while applying patch. can you please review again? Below are the error occurring from my end.
$ git apply -v coding_standards-2888210-2.patch
coding_standards-2888210-2.patch:11: trailing whitespace.
Invoked when a user successfully uses a login_one_time link.
Checking patch README.txt...
warning: README.txt has type 100644, expected 100755
error: while searching for:
with this data.
hook_login_one_time_used($user)
Invoked when a user successfully uses a login_one_time link.
error: patch failed: README.txt:109
error: README.txt: patch does not apply
Checking patch login_one_time.install...
warning: login_one_time.install has type 100644, expected 100755
Checking patch login_one_time.module...
warning: login_one_time.module has type 100644, expected 100755
Checking patch login_one_time.rules.inc...