Skip to content

Commit

Permalink
remove deprecated and slight reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Sep 6, 2022
1 parent 932fb94 commit 3a74ca5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions WordPress/Sniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ abstract class Sniff implements PHPCS_Sniff {
'comment_class' => true,
'connection_aborted' => true,
'connection_status' => true,
'connection_timeout' => true,
'cos' => true,
'cosh' => true,
'count' => true,
Expand Down Expand Up @@ -183,7 +182,6 @@ abstract class Sniff implements PHPCS_Sniff {
'func_num_args' => true,
'gc_collect_cycles' => true,
'gc_mem_caches' => true,
'geoip_id_by_name' => true,
'get_archives_link' => true,
'get_attachment_link' => true,
'get_avatar' => true,
Expand All @@ -195,10 +193,10 @@ abstract class Sniff implements PHPCS_Sniff {
'get_resource_id' => true,
'get_search_form' => true,
'get_search_query' => true,
'get_the_ID' => true,
'get_the_author' => true,
'get_the_author_link' => true,
'get_the_date' => true,
'get_the_ID' => true,
'get_the_post_thumbnail' => true,
'get_the_term_list' => true,
'getrandmax' => true,
Expand All @@ -208,10 +206,7 @@ abstract class Sniff implements PHPCS_Sniff {
'gzseek' => true,
'gzwrite' => true,
'hash_update_stream' => true,
'http_support' => true,
'hypot' => true,
'id3_get_genre_id' => true,
'id3_get_version' => true,
'idate' => true,
'imagefontheight' => true,
'imagefontwidth' => true,
Expand Down Expand Up @@ -242,9 +237,9 @@ abstract class Sniff implements PHPCS_Sniff {
'json_last_error' => true,
'lcg_value' => true,
'levenshtein' => true,
'log' => true,
'log10' => true,
'log1p' => true,
'log' => true,
'mb_ereg_search_getpos' => true,
'mb_strwidth' => true,
'mb_substr_count' => true,
Expand All @@ -260,7 +255,6 @@ abstract class Sniff implements PHPCS_Sniff {
'printf' => true,
'rand' => true,
'random_int' => true,
'readonly' => true,
'round' => true,
'selected' => true,
'similar_text' => true,
Expand Down

0 comments on commit 3a74ca5

Please sign in to comment.