[wp-trac] [WordPress Trac] #41658: Renaming unit tests with underscore in their names.
WordPress Trac
noreply at wordpress.org
Thu Aug 17 11:39:02 UTC 2017
#41658: Renaming unit tests with underscore in their names.
------------------------------+-----------------------------
Reporter: stephdau | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
The following list of Core phpunit tests have underscores in their name,
which is against [https://make.wordpress.org/core/handbook/best-practices
/coding-standards/php/#naming-conventions WP's file naming convention]
(which we enforce in our own repo, so I cannot import them).
{{{
trunk/tests/phpunit/tests/filesystem/find_folder.php
trunk/tests/phpunit/tests/hooks/add_filter.php
trunk/tests/phpunit/tests/hooks/apply_filters.php
trunk/tests/phpunit/tests/hooks/do_action.php
trunk/tests/phpunit/tests/hooks/do_all_hook.php
trunk/tests/phpunit/tests/hooks/has_filter.php
trunk/tests/phpunit/tests/hooks/has_filters.php
trunk/tests/phpunit/tests/hooks/preinit_hooks.php
trunk/tests/phpunit/tests/hooks/remove_all_filters.php
trunk/tests/phpunit/tests/hooks/remove_filter.php
trunk/tests/phpunit/tests/image/editor_gd.php
trunk/tests/phpunit/tests/image/editor_imagick.php
trunk/tests/phpunit/tests/image/intermediate_size.php
trunk/tests/phpunit/tests/image/resize_gd.php
trunk/tests/phpunit/tests/image/resize_imagick.php
trunk/tests/phpunit/tests/image/site_icon.php
}}}
Would it be possible to have them renamed with hyphens instead of
underscores?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41658>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list