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
There are a few minor coding standard issues found using phpcbf --standard=vendor/drupal/coder/coder_sniffer/Drupal/
Proposed resolution
Fix these coding standard issues
Remaining tasks
review
commit
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#11 | simplesamlphp_auth-cs-3052166-11.patch | 9.29 KB | oknate |
| |||
#11 | 3052166--interdiff-9-11.txt | 5.28 KB | oknate |
#9 | simplesamlphp_auth-cs-3052166-9.patch | 4.85 KB | oknate |
|
Comments
Comment #2
oknateComment #3
idebr CreditAttribution: idebr at ezCompany commentedThe code sniffer reports a few more code style issues, see https://www.drupal.org/pift-ci-job/1278654
Comment #4
oknateI address the issues mentioned in #3 in this patch. I haven't tested it yet. I'd like to test the message statements that I changed to make sure I didn't break anything. Other than that, everything is pretty strait forward.
Comment #5
oknateFixing one suggestion from @TR on #3047241: Remove deprecated code for Drupal 9,
Comment #6
oknateComment #7
idebr CreditAttribution: idebr at ezCompany commentedPatch no longer applies after #3047241: Remove deprecated code for Drupal 9 was committed.
Comment #8
oknateIgnore this one.
After I posted this I saw this:
dang, that should not be there.
Comment #9
oknateReroll
Comment #10
idebr CreditAttribution: idebr at ezCompany commentedphpcs is finding a few more errors that should be fixed a well:
Comment #11
oknateFixing most of the errors in #10.
For missing type hints in simplesamlphp_auth.api.php, leaving those out, as they are API changes
Same with this one:
FILE: simplesamlphp_auth/src/EventSubscriber/SimplesamlSubscriber.php
128 | ERROR | Public method name "SimplesamlSubscriber::login_directly_with_external_IdP" is not in lowerCamel format
Comment #13
BerdirThanks, removed some double spaces and also updated some deprecated method calls, committed.