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.
The docblocks in file core/modules/views/src/Plugin/views/filter/FilterPluginBase.php need some TLC. There appear to be a number of @param and @return directives that are missing. Also one needs to check and possibly correct the verb tense(s) in the short one-line function summaries.
Comments
Comment #2
Lars Toomre CreditAttribution: Lars Toomre as a volunteer commentedThis issue was identified as part of fixing #2608732: Some fixes for 'optional' parameter in core/modules.
Comment #3
Lars Toomre CreditAttribution: Lars Toomre as a volunteer commentedThis issue was created as a result of working on #2608732: Some fixes for 'optional' parameter in core/modules.
Running the Drupal standard coder_sniff against this one file results in the following list of sniff results. While some of these results may be wrong, each line probably should be reviewed.
Comment #4
snehi CreditAttribution: snehi as a volunteer and at Publicis Sapient for Publicis Sapient commentedComment #5
snehi CreditAttribution: snehi as a volunteer and at Publicis Sapient for Publicis Sapient commentedComment #6
jordanpagewhite CreditAttribution: jordanpagewhite as a volunteer commentedComment #7
jordanpagewhite CreditAttribution: jordanpagewhite as a volunteer commentedComment #8
iAmSupeRAN CreditAttribution: iAmSupeRAN at Promet Source commentedI'm fixing this
Comment #9
naveenvalechaComment #10
jhodgdonThanks for the issue, but please read the new-ish Issue Scope guidelines:
https://www.drupal.org/core/scope
Rather than issues organized like "fix all of the coding standards problems in this one file", we want to have issues organized like "Fix all of this type of coding standards problem in all of Core" (with sub-issues as necessary).
So I'm closing this as Won't Fix. There are issues that are working on some of these coding standards issues in Core right now; you can start others if they don't exist yet. See links in that document.