Skip to content

Commit 71787ee

Browse files
committed
Rename classes to match underscores convention
1 parent 99a302e commit 71787ee

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

ability-command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
}
2020
};
2121

22-
WP_CLI::add_command( 'ability', '\WP_CLI\Ability\AbilityCommand', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
23-
WP_CLI::add_command( 'ability category', '\WP_CLI\Ability\AbilityCategoryCommand', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
22+
WP_CLI::add_command( 'ability', '\WP_CLI\Ability\Ability_Command', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
23+
WP_CLI::add_command( 'ability category', '\WP_CLI\Ability\Ability_Category_Command', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* @when after_wp_load
4444
* @package wp-cli
4545
*/
46-
class AbilityCategoryCommand extends WP_CLI_Command {
46+
class Ability_Category_Command extends WP_CLI_Command {
4747

4848
/**
4949
* Default fields for list output.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* @when after_wp_load
6464
* @package wp-cli
6565
*/
66-
class AbilityCommand extends WP_CLI_Command {
66+
class Ability_Command extends WP_CLI_Command {
6767

6868
/**
6969
* Default fields for list output.

0 commit comments

Comments
 (0)