Closed (fixed)
Project:
OpenID Connect / OAuth client
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2017 at 17:04 UTC
Updated:
29 May 2017 at 09:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
zkent commentedComment #3
zkent commentedMy first Drupal patch. Please let me know if I am doing this right :)
I borrowed code from UserLoginBlock.php in core since it had the exactly functionality I was looking for already in its core login block.
Comment #4
zkent commentedComment #5
sanduhrsUse statements should be in alphabetical order.
There must be one blank line after the last USE
Expected 1 blank line before function
Short array syntax must be used to define arrays.
Apart from that, this looks very good.
Thanks for your contribution!
Comment #7
sanduhrsJust committed your patch.
Please stick to the coding standards next time:
https://www.drupal.org/docs/develop/standards/coding-standards
There are tools that maybe helpful for that task:
https://github.com/squizlabs/PHP_CodeSniffer
https://www.drupal.org/project/coder
Thank you!