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.
It was discussed and decided on #2081945: [Policy, no patch] Reintroduce 'private' visibility to object-oriented code. that we no longer want to have a guideline in the Drupal coding standards saying basically that "private stuff on classes is bad".
Apparently, Coder has a review rule that says "private stuff on classes is bad".
It needs to be removed.
Comment | File | Size | Author |
---|---|---|---|
#1 | coder-allow-private-class-members-2159567.patch | 2.95 KB | Darren Oh |
Comments
Comment #1
Darren OhComment #2
klausiFixed the comments a bit in good.php and committed the patch, thanks! http://drupalcode.org/project/coder.git/commit/651d34c