WordPress.org

Make WordPress Core

Changeset 47551


Ignore:
Timestamp:
04/05/2020 03:19:02 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Switch WordPress.PHP.YodaConditions.NotYoda back to error level.

This was marked as a warning in [45665] until all the issues associated with the sniff are addressed, so that linting on Travis could run across the entire codebase.

With all the instances now addressed, this override is no longer needed.

Follow-up to [47054], [47218], [47219].

See #49542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r47207 r47551  
    3030
    3131    <!-- These rules are being set as warnings instead of errors, so we can error check the entire codebase. -->
    32     <rule ref="WordPress.PHP.YodaConditions.NotYoda">
    33         <type>warning</type>
    34     </rule>
    3532    <rule ref="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase">
    3633        <type>warning</type>
Note: See TracChangeset for help on using the changeset viewer.