Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/04/2024 12:56:31 PM (14 months ago)
Author:
espellcaste
Message:

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/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r13684 r13850  
    3434          composer-options: "--ignore-platform-reqs"
    3535
    36       - name: Run PHPCS
    37         run: composer phpcs
     36      - name: Run PHPCS Escape
     37        run: composer phpcs-escape
     38
     39      - name: Run PHP Compatibility
     40        run: composer phpcompat
Note: See TracChangeset for help on using the changeset viewer.