diff options
author | Gary Pendergast <pento@git.wordpress.org> | 2019-07-08 00:55:20 +0000 |
---|---|---|
committer | Gary Pendergast <pento@git.wordpress.org> | 2019-07-08 00:55:20 +0000 |
commit | c6c78490e2d6dde354b8a2ae5f3783c805c05d16 (patch) | |
tree | b74c0e38623bd936215a10768bca2b591713084b /tests/phpunit/includes/phpunit6 | |
parent | 431bc58a48f2a8333a4768da52878f8e98b6dee9 (diff) | |
download | wordpress-c6c78490e2d6dde354b8a2ae5f3783c805c05d16.tar.gz wordpress-c6c78490e2d6dde354b8a2ae5f3783c805c05d16.zip |
Coding Standards: Fix the remaining issues in `/tests`.
All PHP files in `/tests` now conform to the PHP coding standards, or have exceptions appropriately marked.
Travis now also runs `phpcs` on the `/tests` directory, any future changes to these files must conform entirely to the WordPress PHP coding standards. 🎉
See #47632.
git-svn-id: https://develop.svn.wordpress.org/trunk@45607 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tests/phpunit/includes/phpunit6')
-rw-r--r-- | tests/phpunit/includes/phpunit6/compat.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/phpunit6/compat.php b/tests/phpunit/includes/phpunit6/compat.php index 90b53a1bec..de9b0bccac 100644 --- a/tests/phpunit/includes/phpunit6/compat.php +++ b/tests/phpunit/includes/phpunit6/compat.php @@ -18,8 +18,8 @@ if ( class_exists( 'PHPUnit\Runner\Version' ) && version_compare( PHPUnit\Runner class PHPUnit_Util_Test { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid - public static function getTickets( $className, $methodName ) { - $annotations = PHPUnit\Util\Test::parseTestMethodAnnotations( $className, $methodName ); + public static function getTickets( $class_name, $method_name ) { + $annotations = PHPUnit\Util\Test::parseTestMethodAnnotations( $class_name, $method_name ); $tickets = array(); |