Make WordPress Core


Ignore:
Timestamp:
10/02/2023 11:25:35 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations, take 5.

The VariableAnalysis standard is not used by WP Core.

Follow-up to [50958], [51003], [52049], [52051], [52069], [53072], [54132], [55132], [56363], [56738], [56743], [56751], [56752].

Props jrf.
See #59161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json-schema.php

    r55725 r56753  
    141141     */
    142142    private static function unset_setting_by_path( &$settings, $path ) {
    143         $tmp_settings = &$settings; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
     143        $tmp_settings = &$settings;
    144144        $last_key     = array_pop( $path );
    145145        foreach ( $path as $key ) {
Note: See TracChangeset for help on using the changeset viewer.