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 use of the boolean values "TRUE" and "FALSE" is inconsitant in the core. There are several calls to "true" and "false" in several files. Need to make them in caps to keep the consistency throughout.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2609298-1.patch | 12.31 KB | imalabya |
Comments
Comment #2
imalabyaAdded patch
Comment #3
imalabyaComment #4
jhodgdonThanks for the patch! Sorry for delay in review -- I've been on vacation.
In any case... This is not a documentation issue. But the patch looks fine to me, and our coding standards definitely say we should use TRUE and FALSE not true/false in PHP code.
I'm not sure whether we're leaving the poor terrible ArchiverTar code alone at this point or cleaning it up (it has a LOT of coding standards issues), but all the fixes in here look fine to me. Thanks!
Comment #5
jibranPlease revert all the changes in this file see for #2610984: Add Archive Tar via Composer, with BC shim more detail.
This is a vendor file which we forked so please revert all these changes as well.
This is auto generated class so revert all the changes here as well.
Comment #6
catchI think this is a duplicate of another issue, which I unfortunately can't find at the moment.
Comment #7
jhodgdonAlso for coding standards, aren't we requiring sniffer updates?
Comment #8
andriyun CreditAttribution: andriyun at Skilld commentedOriginal issue #2572307: Fix 'Generic.PHP.UpperCaseConstant' coding standard