[wp-trac] [WordPress Trac] #59127: YODA update and strict comparison

WordPress Trac noreply at wordpress.org
Thu Aug 17 10:09:13 UTC 2023


#59127: YODA update and strict comparison
----------------------------+-------------------------------
 Reporter:  saratheonline   |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Filesystem API  |     Version:  trunk
 Severity:  normal          |  Resolution:  duplicate
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 The FTP classes (`class-ftp.php`, `class-ftp-pure.php`, `class-ftp-
 sockets.php`) can be considered an "adopted" external library which is no
 longer supported upstream, see comment:9:ticket:24780.

 That said, I think we should still minimize changes to them, as they don't
 need to follow WordPress coding standards and are
 [source:tags/6.2.2/phpcs.xml.dist?marks=106#L102 excluded from WPCS
 checks], see comment:8:ticket:45967.

 If that is ever reconsidered, they would need a lot more changes than
 proposed here.

 This was previously raised in #45967, let's continue the discussion there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59127#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list