Make WordPress Core

Ticket #59161: 59161.wp-block-parser-block.diff

File 59161.wp-block-parser-block.diff, 962 bytes (added by SergeyBiryukov, 4 months ago)
  • phpcs.xml.dist

     
    338338                <exclude-pattern>/tests/*</exclude-pattern>
    339339        </rule>
    340340
    341         <!-- Allow non-snake-case vars & properties for block-related classes. -->
    342         <rule ref="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase">
    343                 <exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
    344                 <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    345         </rule>
    346         <rule ref="WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase">
    347                 <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    348         </rule>
    349         <rule ref="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase">
    350                 <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    351         </rule>
    352 
    353341</ruleset>