Wordpress/tests/phpunit/tests
Gary Pendergast a139c8cbf7 Coding Standards: Fix and whitelist variable names.
From the `WordPress.NamingConventions.ValidVariableName` sniff, this commit fixes/whitelists all `NotSnakeCaseMemberVar`, `MemberNotSnakeCase`, and `StringNotSnakeCase` violations. It also fixes a handful of the `NotSnakeCase` violations.

See #45934.



git-svn-id: https://develop.svn.wordpress.org/trunk@44573 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-12 06:05:55 +00:00
..
actions Code is Poetry. 2017-11-30 23:09:33 +00:00
admin Meta: Allow empty strings to be set by Custom Fields meta box. 2018-12-14 03:16:56 +00:00
ajax REST API: Restore use of wp_ajax_ajax_tag_search() for tag search. 2019-01-10 02:36:40 +00:00
attachment Code is Poetry. 2017-11-30 23:09:33 +00:00
blocks REST API: Preserve unknown, respect null in server-side block rendering. 2018-12-17 17:59:44 +00:00
bookmark General: Fix existing coding standard violations in bookmark tests, as outlined in [44546]. 2019-01-10 21:16:49 +00:00
canonical Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
category Taxonomy: Make sure wp_list_categories() correctly outputs term name of 0. 2018-09-02 22:08:05 +00:00
comment Comments: Add new tests missed in [44499]. 2019-01-09 06:19:53 +00:00
customize Coding Standards: Remove PHPCS 2.x @codingStandardsIgnore* ignore syntax. 2019-01-11 03:03:08 +00:00
date Date/Time: Make sure current_time() always calculates the offset from GMT/UTC. 2018-08-30 12:12:55 +00:00
db Code is Poetry. 2017-11-30 23:09:33 +00:00
dependencies I18N/Script Loader: Support text domains other than "messages". 2019-01-06 16:22:46 +00:00
editor Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
external-http Embeds: Remove the external oEmbed tests for YouTube. 2017-10-03 16:51:25 +00:00
feed Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
filesystem Code is Poetry. 2017-11-30 23:09:33 +00:00
formatting Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
functions Tests: Add missing test cases for is_serialized_string(). 2019-01-08 19:04:51 +00:00
general Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
hooks Code is Poetry. 2017-11-30 23:09:33 +00:00
http Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
image Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
import Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
includes Code is Poetry. 2017-11-30 23:09:33 +00:00
l10n I18N: Fix JavaScript translations for subdirectory installations. 2018-12-18 23:09:51 +00:00
link Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
load Bootstrap: Enhance core's memory limit handling. 2016-07-08 14:36:37 +00:00
media Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
menu Nav Menus: Fix a PHP 7.3 error when switching themes. 2018-12-14 05:15:54 +00:00
meta Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
multisite Multisite: Fix coding standard errors after [43654]. 2018-09-24 15:22:01 +00:00
oembed General: Fix some code formatting issues. 2018-12-14 03:24:35 +00:00
option Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
pomo Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
post Coding Standards: Extract extract() from the codebase. 2019-01-12 03:19:23 +00:00
privacy Privacy: Add unit tests for privacy erasure fulfillment notifications. 2019-01-10 02:06:44 +00:00
query Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api General: Fix problematic string to array parsing. 2019-01-10 21:05:50 +00:00
rewrite Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
taxonomy Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
term REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:00 +00:00
theme Themes: Introduce responsive embeds support. 2018-12-14 01:49:46 +00:00
url Privacy: Add template tags for building link to privacy policy page. 2018-04-25 15:54:29 +00:00
user Bootstrap/Load: Fix missing object argument for singular capability checks and support capability tests overlooked in [44524]. 2019-01-09 20:43:57 +00:00
widgets Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
xmlrpc Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
actions.php Code is Poetry. 2017-11-30 23:09:33 +00:00
adminbar.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
auth.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
avatar.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
basic.php Build/Test tools: Remove unnecessary PHP functionality tests from the test suite. 2017-12-09 23:08:24 +00:00
cache.php Code is Poetry. 2017-11-30 23:09:33 +00:00
canonical.php Code is Poetry. 2017-11-30 23:09:33 +00:00
category.php Code is Poetry. 2017-11-30 23:09:33 +00:00
comment-submission.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
comment.php Privacy: Don't replace comment author URL and email with anything. 2018-07-17 08:59:30 +00:00
compat.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
cron.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
db.php WPDB: Check that $wpdb->last_result is countable before counting with it. 2018-12-17 18:38:13 +00:00
dbdelta.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
dependencies.php Code is Poetry. 2017-11-30 23:09:33 +00:00
file.php Code is Poetry. 2017-11-30 23:09:33 +00:00
filters.php Code is Poetry. 2017-11-30 23:09:33 +00:00
functions.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
kses.php KSES: Allow the download attribute on <a> tags. 2018-12-14 03:27:55 +00:00
l10n.php Build/Test Tools: Fix coding standards issues after [44515] and [44514]. 2019-01-09 12:36:43 +00:00
link.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
locale.php Code is Poetry. 2017-11-30 23:09:33 +00:00
mail.php Code is Poetry. 2017-11-30 23:09:33 +00:00
media.php Media: Store audio creation date in meta. 2019-01-10 01:31:52 +00:00
meta.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
multisite.php Code is Poetry. 2017-11-30 23:09:33 +00:00
pluggable.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
post.php Permalinks: Add a pre_wp_unique_post_slug filter. 2019-01-08 03:46:58 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-api.php REST API: Encourage proper usage of register_rest_route(). 2019-01-11 18:18:41 +00:00
rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
shortcode.php Coding Standards: Extract extract() from the codebase. 2019-01-12 03:19:23 +00:00
taxonomy.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
term.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
theme.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:48:14 +00:00
upload.php Code is Poetry. 2017-11-30 23:09:33 +00:00
url.php Code is Poetry. 2017-11-30 23:09:33 +00:00
user.php Coding Standards: Fix and whitelist variable names. 2019-01-12 06:05:55 +00:00
walker.php Code is Poetry. 2017-11-30 23:09:33 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wp.php Query: Add a WP::remove_query_var() helper function. 2016-01-05 20:56:10 +00:00