[buddypress-trac] [BuddyPress Trac] #7228: Add PHPCS

buddypress-trac noreply at wordpress.org
Sat May 4 12:56:38 UTC 2024


#7228: Add PHPCS
------------------------------+--------------------------
 Reporter:  DJPaul            |       Owner:  espellcaste
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  14.0.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+--------------------------

Comment (by espellcaste):

 In [changeset:"13850" 13850]:
 {{{
 #!CommitTicketReference repository="" revision="13850"
 Improve handing of PHP code standards using WPCS

 Until we have all WPCS warnings and errors fixed, we block pull requests,
 and releases, with code with escaping or/and PHP Compatibility issues.

 For local development only, we set WPCS severity to 1 to see everything
 that is not effectively turned off.

 Run `composer run phpcs` for showing all WPCS issues.
 Run `composer run phpcs-escape` for showing escaping issues.
 Run `composer run phpcompat` for showing PHP Compatibility issues.

 See #7228
 Closes https://github.com/buddypress/buddypress/pull/282/
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7228#comment:85>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list