Make WordPress Core


Ignore:
Timestamp:
10/02/2023 11:25:35 AM (3 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/rest-api/endpoints/class-wp-rest-templates-controller.php

    r56248 r56753  
    634634     * @return WP_REST_Response Response object.
    635635     */
    636     public function prepare_item_for_response( $item, $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
     636    public function prepare_item_for_response( $item, $request ) {
    637637        // Restores the more descriptive, specific name for use within this method.
    638638        $template = $item;
Note: See TracChangeset for help on using the changeset viewer.