Make WordPress Core

Changeset 56392


Ignore:
Timestamp:
08/11/2023 05:01:32 PM (7 months ago)
Author:
johnbillion
Message:

Editor: Only exclude auto-generated block files from coding standards checks.

Prior to this change, all block files were excluded from coding standards checks, but there's no reason these files shouldn't adhere to core's coding standards.

Props lopo, Rahe, adamsilverstein 

Fixes #50010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r56048 r56392  
    125125
    126126    <exclude-pattern>/src/wp-includes/assets/*</exclude-pattern>
    127     <exclude-pattern>/src/wp-includes/blocks/*</exclude-pattern>
     127    <exclude-pattern>/src/wp-includes/blocks/*/*.asset.php</exclude-pattern>
     128    <exclude-pattern>/src/wp-includes/blocks/blocks-json.php</exclude-pattern>
    128129    <exclude-pattern>/src/wp-includes/ID3/*</exclude-pattern>
    129130    <exclude-pattern>/src/wp-includes/IXR/*</exclude-pattern>
Note: See TracChangeset for help on using the changeset viewer.