mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56753 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -140,7 +140,7 @@ class WP_Theme_JSON_Schema {
|
||||
* @param array $path Path to the property to be removed.
|
||||
*/
|
||||
private static function unset_setting_by_path( &$settings, $path ) {
|
||||
$tmp_settings = &$settings; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
||||
$tmp_settings = &$settings;
|
||||
$last_key = array_pop( $path );
|
||||
foreach ( $path as $key ) {
|
||||
$tmp_settings = &$tmp_settings[ $key ];
|
||||
|
||||
Reference in New Issue
Block a user