Coding standards issue fixes.

Issue fork key_auth-3315882

Command icon 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

Rajeshreeputra created an issue. See original summary.

rajeshreeputra’s picture

Assigned: rajeshreeputra » Unassigned
Status: Active » Needs review
sourabhjain’s picture

Assigned: Unassigned » sourabhjain

I will review the PR.

sourabhjain’s picture

Assigned: sourabhjain » Unassigned
solideogloria’s picture

Status: Needs review » Needs work

ankithashetty made their first commit to this issue’s fork.

ankithashetty’s picture

Status: Needs work » Needs review

MR is rebased and updated with #6 changes.

Noticed the below error:

/key_auth/src/KeyAuth.php
---------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------
 5 | WARNING | [x] Unused use statement
 5 | ERROR   | [x] Non-namespaced classes/interfaces/traits should not be referenced with use statements

Looks like it was added in #3272203: Key Auth authenticator should query for users without access check. Was it deliberately added or can we clean it?

Thanks!

solideogloria’s picture

I think the use Drupal; line should be removed.

ankithashetty’s picture

Updated MR with #9 suggestion.
Thanks!

solideogloria’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3528017: [PHP 8.4] Fix code style issues reported by phpcs

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

solideogloria’s picture